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()
253 for (int ndx = 0; ndx < 2; ndx++) in verifyTexture() local
255 …sglr::Context* ctx = ndx ? static_cast<sglr::Context*>(&refContext) : static_cast<sglr::Context*>(… in verifyTexture()
285 for (int ndx = 0; ndx < 2; ndx++) in verifyTexture() local
287 tcu::Surface& dst = ndx ? reference : result; in verifyTexture()
288 …sglr::Context* ctx = ndx ? static_cast<sglr::Context*>(&refContext) : static_cast<sglr::Context*… in verifyTexture()
289 deUint32 shaderID = ndx ? shaderIDRef : shaderIDgles; in verifyTexture()
339 for (int ndx = 0; ndx < m_numLevels; ndx++) in createTexture() local
341 int levelW = de::max(1, m_size >> ndx); in createTexture()
348 …glTexImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, ndx, m_internalFormat, levelW, levelW, m_depth, 0, transfe… in createTexture()
379 for (int ndx = 0; ndx < m_numLevels; ndx++) in createTexture() local
381 int levelW = de::max(1, m_size >> ndx); in createTexture()
388 …glTexSubImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, ndx, 0, 0, 0, levelW, levelW, m_depth, transferFmt.form… in createTexture()
617 for (int ndx = 0; ndx < m_numLevels; ndx++) in createTexture() local
619 const int levelW = de::max(1, m_size >> ndx); in createTexture()
626 …glTexImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, ndx, m_internalFormat, levelW, levelW, m_depth, 0, fmt.for… in createTexture()
664 for (int ndx = 0; ndx < m_numLevels; ndx++) in createTexture() local
666 const int levelW = de::max(1, m_size >> ndx); in createTexture()
673 …glTexImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, ndx, m_internalFormat, levelW, levelW, m_depth, 0, fmt.for… in createTexture()
677 for (int ndx = 0; ndx < m_numLevels; ndx++) in createTexture() local
679 const int levelW = de::max(1, m_size >> ndx); in createTexture()
695 …glTexSubImage3D(GL_TEXTURE_CUBE_MAP_ARRAY, ndx, x, y, z, w, h, d, fmt.format, fmt.dataType, levelD… in createTexture()
901 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(parameterCases); ndx++) in init() local
903 …pboGroup->addChild(new TexImageCubeArrayBufferCase(m_context, (string(parameterCases[ndx].name) + … in init()
904 parameterCases[ndx].format, in init()
905 parameterCases[ndx].size, in init()
906 parameterCases[ndx].depth, in init()
907 parameterCases[ndx].imageHeight, in init()
908 parameterCases[ndx].rowLength, in init()
909 parameterCases[ndx].skipImages, in init()
910 parameterCases[ndx].skipRows, in init()
911 parameterCases[ndx].skipPixels, in init()
912 parameterCases[ndx].alignment, in init()
913 parameterCases[ndx].offset)); in init()
922 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(depthStencilFormats); ndx++) in init() local
927 …m_context, (std::string(depthStencilFormats[ndx].name) + "_cube_array").c_str(), "", depthStencilF… in init()
936 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(depthStencilFormats); ndx++) in init() local
941 …m_context, (std::string(depthStencilFormats[ndx].name) + "_cube_array").c_str(), "", depthStencilF… in init()
979 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(colorFormats); ndx++) in init() local
981 …pboGroup->addChild(new TexSubImageCubeArrayBufferCase(m_context, (std::string(colorFormats[ndx].na… in init()
982 colorFormats[ndx].internalFormat, in init()
1000 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(paramCases); ndx++) in init() local
1002 …pboGroup->addChild(new TexSubImageCubeArrayBufferCase(m_context, (std::string(paramCases[ndx].name… in init()
1003 paramCases[ndx].format, in init()
1004 paramCases[ndx].size, in init()
1005 paramCases[ndx].depth, in init()
1006 paramCases[ndx].subX, in init()
1007 paramCases[ndx].subY, in init()
1008 paramCases[ndx].subZ, in init()
1009 paramCases[ndx].subW, in init()
1010 paramCases[ndx].subH, in init()
1011 paramCases[ndx].subD, in init()
1012 paramCases[ndx].imageHeight, in init()
1013 paramCases[ndx].rowLength, in init()
1014 paramCases[ndx].skipImages, in init()
1015 paramCases[ndx].skipRows, in init()
1016 paramCases[ndx].skipPixels, in init()
1017 paramCases[ndx].alignment, in init()
1018 paramCases[ndx].offset)); in init()
1027 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(depthStencilFormats); ndx++) in init() local
1032 …m_context, (std::string(depthStencilFormats[ndx].name) + "_cube_array").c_str(), "", depthStencilF… in init()
1090 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(texCubeArraySizes); ndx++) in init() local
1093 int size = texCubeArraySizes[ndx].size; in init()
1094 int layers = texCubeArraySizes[ndx].layers; in init()
1095 int levels = texCubeArraySizes[ndx].levels; in init()