Lines Matching refs:ndx
81 for (int ndx = 0; ndx < Size; ndx++) variable
82 res[ndx] = rnd.getFloat(minVal[ndx], maxVal[ndx]);
86 static tcu::CubeFace getCubeFaceFromNdx (int ndx) in getCubeFaceFromNdx() argument
88 switch (ndx) in getCubeFaceFromNdx()
159 for (int ndx = 0; ndx < 2; ndx++) in iterate() local
161 setContext(ndx ? (sglr::Context*)&refContext : (sglr::Context*)&gles31Context); in iterate()
167 for (int ndx = 0; ndx < 2; ndx++) in iterate() local
169 setContext(ndx ? (sglr::Context*)&refContext : (sglr::Context*)&gles31Context); in iterate()
251 for (int ndx = 0; ndx < 2; ndx++) in verifyTexture() local
253 …sglr::Context* ctx = ndx ? static_cast<sglr::Context*>(&refContext) : static_cast<sglr::Context*>(… in verifyTexture()
283 for (int ndx = 0; ndx < 2; ndx++) in verifyTexture() local
285 tcu::Surface& dst = ndx ? reference : result; in verifyTexture()
286 …sglr::Context* ctx = ndx ? static_cast<sglr::Context*>(&refContext) : static_cast<sglr::Context*… in verifyTexture()
287 deUint32 shaderID = ndx ? shaderIDRef : shaderIDgles; in verifyTexture()
337 for (int ndx = 0; ndx < m_numLevels; ndx++) in createTexture() local
339 int levelW = de::max(1, m_size >> ndx); in createTexture()
346 …glTexImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, ndx, m_internalFormat, levelW, levelW, m_depth, 0, transfe… in createTexture()
377 for (int ndx = 0; ndx < m_numLevels; ndx++) in createTexture() local
379 int levelW = de::max(1, m_size >> ndx); in createTexture()
386 …glTexSubImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, ndx, 0, 0, 0, levelW, levelW, m_depth, transferFmt.form… in createTexture()
615 for (int ndx = 0; ndx < m_numLevels; ndx++) in createTexture() local
617 const int levelW = de::max(1, m_size >> ndx); in createTexture()
624 …glTexImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, ndx, m_internalFormat, levelW, levelW, m_depth, 0, fmt.for… in createTexture()
662 for (int ndx = 0; ndx < m_numLevels; ndx++) in createTexture() local
664 const int levelW = de::max(1, m_size >> ndx); in createTexture()
671 …glTexImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, ndx, m_internalFormat, levelW, levelW, m_depth, 0, fmt.for… in createTexture()
675 for (int ndx = 0; ndx < m_numLevels; ndx++) in createTexture() local
677 const int levelW = de::max(1, m_size >> ndx); in createTexture()
693 …glTexSubImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, ndx, x, y, z, w, h, d, fmt.format, fmt.dataType, levelD… in createTexture()
899 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(parameterCases); ndx++) in init() local
901 …pboGroup->addChild(new TexImageCubeArrayBufferCase(m_context, (string(parameterCases[ndx].name) + … in init()
902 parameterCases[ndx].format, in init()
903 parameterCases[ndx].size, in init()
904 parameterCases[ndx].depth, in init()
905 parameterCases[ndx].imageHeight, in init()
906 parameterCases[ndx].rowLength, in init()
907 parameterCases[ndx].skipImages, in init()
908 parameterCases[ndx].skipRows, in init()
909 parameterCases[ndx].skipPixels, in init()
910 parameterCases[ndx].alignment, in init()
911 parameterCases[ndx].offset)); in init()
920 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(depthStencilFormats); ndx++) in init() local
925 …m_context, (std::string(depthStencilFormats[ndx].name) + "_cube_array").c_str(), "", depthStencilF… in init()
934 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(depthStencilFormats); ndx++) in init() local
939 …m_context, (std::string(depthStencilFormats[ndx].name) + "_cube_array").c_str(), "", depthStencilF… in init()
977 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(colorFormats); ndx++) in init() local
979 …pboGroup->addChild(new TexSubImageCubeArrayBufferCase(m_context, (std::string(colorFormats[ndx].na… in init()
980 colorFormats[ndx].internalFormat, in init()
998 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(paramCases); ndx++) in init() local
1000 …pboGroup->addChild(new TexSubImageCubeArrayBufferCase(m_context, (std::string(paramCases[ndx].name… in init()
1001 paramCases[ndx].format, in init()
1002 paramCases[ndx].size, in init()
1003 paramCases[ndx].depth, in init()
1004 paramCases[ndx].subX, in init()
1005 paramCases[ndx].subY, in init()
1006 paramCases[ndx].subZ, in init()
1007 paramCases[ndx].subW, in init()
1008 paramCases[ndx].subH, in init()
1009 paramCases[ndx].subD, in init()
1010 paramCases[ndx].imageHeight, in init()
1011 paramCases[ndx].rowLength, in init()
1012 paramCases[ndx].skipImages, in init()
1013 paramCases[ndx].skipRows, in init()
1014 paramCases[ndx].skipPixels, in init()
1015 paramCases[ndx].alignment, in init()
1016 paramCases[ndx].offset)); in init()
1025 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(depthStencilFormats); ndx++) in init() local
1030 …m_context, (std::string(depthStencilFormats[ndx].name) + "_cube_array").c_str(), "", depthStencilF… in init()
1088 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(texCubeArraySizes); ndx++) in init() local
1091 int size = texCubeArraySizes[ndx].size; in init()
1092 int layers = texCubeArraySizes[ndx].layers; in init()
1093 int levels = texCubeArraySizes[ndx].levels; in init()