Lines Matching refs:ndx
81 for (int ndx = 0; ndx < Size; ndx++)
82 res[ndx] = rnd.getFloat(minVal[ndx], maxVal[ndx]);
86 static tcu::CubeFace getCubeFaceFromNdx (int ndx)
88 switch (ndx)
159 for (int ndx = 0; ndx < 2; ndx++)
161 setContext(ndx ? (sglr::Context*)&refContext : (sglr::Context*)&gles31Context);
167 for (int ndx = 0; ndx < 2; ndx++)
169 setContext(ndx ? (sglr::Context*)&refContext : (sglr::Context*)&gles31Context);
255 for (int ndx = 0; ndx < 2; ndx++)
257 sglr::Context* ctx = ndx ? static_cast<sglr::Context*>(&refContext) : static_cast<sglr::Context*>(&gles3Context);
287 for (int ndx = 0; ndx < 2; ndx++)
289 tcu::Surface& dst = ndx ? reference : result;
290 sglr::Context* ctx = ndx ? static_cast<sglr::Context*>(&refContext) : static_cast<sglr::Context*>(&gles3Context);
291 deUint32 shaderID = ndx ? shaderIDRef : shaderIDgles;
341 for (int ndx = 0; ndx < m_numLevels; ndx++)
343 int levelW = de::max(1, m_size >> ndx);
350 glTexImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, ndx, m_internalFormat, levelW, levelW, m_depth, 0, transferFmt.format, transferFmt.dataType, levelData.getAccess().getDataPtr());
381 for (int ndx = 0; ndx < m_numLevels; ndx++)
383 int levelW = de::max(1, m_size >> ndx);
390 glTexSubImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, ndx, 0, 0, 0, levelW, levelW, m_depth, transferFmt.format, transferFmt.dataType, levelData.getAccess().getDataPtr());
619 for (int ndx = 0; ndx < m_numLevels; ndx++)
621 const int levelW = de::max(1, m_size >> ndx);
628 glTexImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, ndx, m_internalFormat, levelW, levelW, m_depth, 0, fmt.format, fmt.dataType, levelData.getAccess().getDataPtr());
666 for (int ndx = 0; ndx < m_numLevels; ndx++)
668 const int levelW = de::max(1, m_size >> ndx);
675 glTexImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, ndx, m_internalFormat, levelW, levelW, m_depth, 0, fmt.format, fmt.dataType, levelData.getAccess().getDataPtr());
679 for (int ndx = 0; ndx < m_numLevels; ndx++)
681 const int levelW = de::max(1, m_size >> ndx);
697 glTexSubImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, ndx, x, y, z, w, h, d, fmt.format, fmt.dataType, levelData.getAccess().getDataPtr());
903 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(parameterCases); ndx++)
905 pboGroup->addChild(new TexImageCubeArrayBufferCase(m_context, (string(parameterCases[ndx].name) + "_cube_array").c_str(), "",
906 parameterCases[ndx].format,
907 parameterCases[ndx].size,
908 parameterCases[ndx].depth,
909 parameterCases[ndx].imageHeight,
910 parameterCases[ndx].rowLength,
911 parameterCases[ndx].skipImages,
912 parameterCases[ndx].skipRows,
913 parameterCases[ndx].skipPixels,
914 parameterCases[ndx].alignment,
915 parameterCases[ndx].offset));
924 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(depthStencilFormats); ndx++)
929 shadow3dGroup->addChild(new TexImageCubeArrayDepthCase(m_context, (std::string(depthStencilFormats[ndx].name) + "_cube_array").c_str(), "", depthStencilFormats[ndx].internalFormat, texCubeArraySize, texCubeArrayDepth));
938 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(depthStencilFormats); ndx++)
943 shadow3dGroup->addChild(new TexImageCubeArrayDepthBufferCase(m_context, (std::string(depthStencilFormats[ndx].name) + "_cube_array").c_str(), "", depthStencilFormats[ndx].internalFormat, texCubeArraySize, texCubeArrayDepth));
981 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(colorFormats); ndx++)
983 pboGroup->addChild(new TexSubImageCubeArrayBufferCase(m_context, (std::string(colorFormats[ndx].name) + "_cube_array").c_str(), "",
984 colorFormats[ndx].internalFormat,
1002 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(paramCases); ndx++)
1004 pboGroup->addChild(new TexSubImageCubeArrayBufferCase(m_context, (std::string(paramCases[ndx].name) + "_cube_array").c_str(), "",
1005 paramCases[ndx].format,
1006 paramCases[ndx].size,
1007 paramCases[ndx].depth,
1008 paramCases[ndx].subX,
1009 paramCases[ndx].subY,
1010 paramCases[ndx].subZ,
1011 paramCases[ndx].subW,
1012 paramCases[ndx].subH,
1013 paramCases[ndx].subD,
1014 paramCases[ndx].imageHeight,
1015 paramCases[ndx].rowLength,
1016 paramCases[ndx].skipImages,
1017 paramCases[ndx].skipRows,
1018 paramCases[ndx].skipPixels,
1019 paramCases[ndx].alignment,
1020 paramCases[ndx].offset));
1029 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(depthStencilFormats); ndx++)
1034 shadow3dGroup->addChild(new TexSubImageCubeArrayDepthCase(m_context, (std::string(depthStencilFormats[ndx].name) + "_cube_array").c_str(), "", depthStencilFormats[ndx].internalFormat, texCubeArraySize, texCubeArrayLayers));
1092 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(texCubeArraySizes); ndx++)
1095 int size = texCubeArraySizes[ndx].size;
1096 int layers = texCubeArraySizes[ndx].layers;
1097 int levels = texCubeArraySizes[ndx].levels;