Lines Matching refs:ndx
101 for (int ndx = 0; ndx < Size; ndx++)
102 res[ndx] = rnd.getFloat(minVal[ndx], maxVal[ndx]);
202 for (int ndx = 0; ndx < 2; ndx++)
204 setContext(ndx ? (sglr::Context*)&refContext : (sglr::Context*)&gles3Context);
210 for (int ndx = 0; ndx < 2; ndx++)
212 setContext(ndx ? (sglr::Context*)&refContext : (sglr::Context*)&gles3Context);
288 for (int ndx = 0; ndx < 2; ndx++)
290 sglr::Context* ctx = ndx ? static_cast<sglr::Context*>(&refContext) : static_cast<sglr::Context*>(&gles3Context);
308 for (int ndx = 0; ndx < 2; ndx++)
310 tcu::Surface& dst = ndx ? reference : result;
311 sglr::Context* ctx = ndx ? static_cast<sglr::Context*>(&refContext) : static_cast<sglr::Context*>(&gles3Context);
312 deUint32 shaderID = ndx ? shaderIDRef : shaderIDgles;
371 for (int ndx = 0; ndx < 2; ndx++)
373 sglr::Context* ctx = ndx ? static_cast<sglr::Context*>(&refContext) : static_cast<sglr::Context*>(&gles3Context);
399 for (int ndx = 0; ndx < 2; ndx++)
401 tcu::Surface& dst = ndx ? reference : result;
402 sglr::Context* ctx = ndx ? static_cast<sglr::Context*>(&refContext) : static_cast<sglr::Context*>(&gles3Context);
403 deUint32 shaderID = ndx ? shaderIDRef : shaderIDgles;
472 for (int ndx = 0; ndx < 2; ndx++)
474 sglr::Context* ctx = ndx ? static_cast<sglr::Context*>(&refContext) : static_cast<sglr::Context*>(&gles3Context);
499 for (int ndx = 0; ndx < 2; ndx++)
501 tcu::Surface& dst = ndx ? reference : result;
502 sglr::Context* ctx = ndx ? static_cast<sglr::Context*>(&refContext) : static_cast<sglr::Context*>(&gles3Context);
503 deUint32 shaderID = ndx ? shaderIDRef : shaderIDgles;
572 for (int ndx = 0; ndx < 2; ndx++)
574 sglr::Context* ctx = ndx ? static_cast<sglr::Context*>(&refContext) : static_cast<sglr::Context*>(&gles3Context);
600 for (int ndx = 0; ndx < 2; ndx++)
602 tcu::Surface& dst = ndx ? reference : result;
603 sglr::Context* ctx = ndx ? static_cast<sglr::Context*>(&refContext) : static_cast<sglr::Context*>(&gles3Context);
604 deUint32 shaderID = ndx ? shaderIDRef : shaderIDgles;
668 for (int ndx = 0; ndx < m_numLevels; ndx++)
670 int levelW = de::max(1, m_width >> ndx);
671 int levelH = de::max(1, m_height >> ndx);
678 glTexImage2D(GL_TEXTURE_2D, ndx, m_internalFormat, levelW, levelH, 0, m_format, m_dataType, levelData.getAccess().getDataPtr());
723 for (int ndx = 0; ndx < m_numLevels; ndx++)
725 int levelSize = de::max(1, m_size >> ndx);
736 glTexImage2D(s_cubeMapFaces[face], ndx, m_internalFormat, levelSize, levelSize, 0, m_format, m_dataType, levelData.getAccess().getDataPtr());
768 for (int ndx = 0; ndx < m_numLevels; ndx++)
770 int levelW = de::max(1, m_width >> ndx);
771 int levelH = de::max(1, m_height >> ndx);
778 glTexImage3D(GL_TEXTURE_2D_ARRAY, ndx, m_internalFormat, levelW, levelH, m_numLayers, 0, transferFmt.format, transferFmt.dataType, levelData.getAccess().getDataPtr());
807 for (int ndx = 0; ndx < m_numLevels; ndx++)
809 int levelW = de::max(1, m_width >> ndx);
810 int levelH = de::max(1, m_height >> ndx);
811 int levelD = de::max(1, m_depth >> ndx);
818 glTexImage3D(GL_TEXTURE_3D, ndx, m_internalFormat, levelW, levelH, levelD, 0, transferFmt.format, transferFmt.dataType, levelData.getAccess().getDataPtr());
865 for (int ndx = 0; ndx < m_numLevels; ndx++)
867 int levelNdx = levels[ndx];
922 for (int ndx = 0; ndx < m_numLevels; ndx++)
924 images[ndx*6 + face] = std::make_pair(ndx, (tcu::CubeFace)face);
928 for (int ndx = 0; ndx < (int)images.size(); ndx++)
930 int levelNdx = images[ndx].first;
931 tcu::CubeFace face = images[ndx].second;
983 for (int ndx = 0; ndx < m_numLevels; ndx++)
985 int levelW = de::max(1, m_width >> ndx);
986 int levelH = de::max(1, m_height >> ndx);
995 glTexImage2D(GL_TEXTURE_2D, ndx, m_internalFormat, levelW, levelH, 0, m_format, m_dataType, &data[0]);
1040 for (int ndx = 0; ndx < m_numLevels; ndx++)
1042 int levelSize = de::max(1, m_size >> ndx);
1052 glTexImage2D(s_cubeMapFaces[face], ndx, m_internalFormat, levelSize, levelSize, 0, m_format, m_dataType, &data[0]);
1225 for (int ndx = 0; ndx < m_numLevels; ndx++)
1227 int levelW = de::max(1, m_width >> ndx);
1228 int levelH = de::max(1, m_height >> ndx);
1235 glTexImage2D(GL_TEXTURE_2D, ndx, m_internalFormat, levelW, levelH, 0, m_format, m_dataType, data.getAccess().getDataPtr());
1239 for (int ndx = 0; ndx < m_numLevels; ndx++)
1241 int levelW = de::max(1, m_width >> ndx);
1242 int levelH = de::max(1, m_height >> ndx);
1256 glTexSubImage2D(GL_TEXTURE_2D, ndx, x, y, w, h, m_format, m_dataType, data.getAccess().getDataPtr());
1299 for (int ndx = 0; ndx < m_numLevels; ndx++)
1301 int levelSize = de::max(1, m_size >> ndx);
1312 glTexImage2D(s_cubeMapFaces[face], ndx, m_internalFormat, levelSize, levelSize, 0, m_format, m_dataType, data.getAccess().getDataPtr());
1317 for (int ndx = 0; ndx < m_numLevels; ndx++)
1319 int levelSize = de::max(1, m_size >> ndx);
1335 glTexSubImage2D(s_cubeMapFaces[face], ndx, x, y, w, h, m_format, m_dataType, data.getAccess().getDataPtr());
1449 for (int ndx = 0; ndx < m_numLevels; ndx++)
1451 int levelW = de::max(1, m_width >> ndx);
1452 int levelH = de::max(1, m_height >> ndx);
1453 int levelD = de::max(1, m_depth >> ndx);
1460 glTexImage3D(GL_TEXTURE_3D, ndx, m_internalFormat, levelW, levelH, levelD, 0, transferFmt.format, transferFmt.dataType, data.getAccess().getDataPtr());
1464 for (int ndx = 0; ndx < m_numLevels; ndx++)
1466 int levelW = de::max(1, m_width >> ndx);
1467 int levelH = de::max(1, m_height >> ndx);
1468 int levelD = de::max(1, m_depth >> ndx);
1484 glTexSubImage3D(GL_TEXTURE_3D, ndx, x, y, z, w, h, d, transferFmt.format, transferFmt.dataType, data.getAccess().getDataPtr());
1526 for (int ndx = 0; ndx < m_numLevels; ndx++)
1528 int levelW = de::max(1, m_width >> ndx);
1529 int levelH = de::max(1, m_height >> ndx);
1531 glTexImage2D(GL_TEXTURE_2D, ndx, m_internalFormat, levelW, levelH, 0, m_format, m_dataType, DE_NULL);
1535 for (int ndx = 0; ndx < m_numLevels; ndx++)
1537 int levelW = de::max(1, m_width >> ndx);
1538 int levelH = de::max(1, m_height >> ndx);
1545 glTexSubImage2D(GL_TEXTURE_2D, ndx, 0, 0, levelW, levelH, m_format, m_dataType, data.getAccess().getDataPtr());
1589 for (int ndx = 0; ndx < m_numLevels; ndx++)
1591 int levelSize = de::max(1, m_size >> ndx);
1594 glTexImage2D(s_cubeMapFaces[face], ndx, m_internalFormat, levelSize, levelSize, 0, m_format, m_dataType, DE_NULL);
1598 for (int ndx = 0; ndx < m_numLevels; ndx++)
1600 int levelSize = de::max(1, m_size >> ndx);
1611 glTexSubImage2D(s_cubeMapFaces[face], ndx, 0, 0, levelSize, levelSize, m_format, m_dataType, data.getAccess().getDataPtr());
1896 for (int ndx = 0; ndx < m_numLevels; ndx++)
1898 int levelW = de::max(1, m_width >> ndx);
1899 int levelH = de::max(1, m_height >> ndx);
1903 glCopyTexImage2D(GL_TEXTURE_2D, ndx, m_internalFormat, x, y, levelW, levelH, 0);
1944 for (int ndx = 0; ndx < m_numLevels; ndx++)
1946 int levelSize = de::max(1, m_size >> ndx);
1953 glCopyTexImage2D(s_cubeMapFaces[face], ndx, m_internalFormat, x, y, levelSize, levelSize, 0);
1995 for (int ndx = 0; ndx < m_numLevels; ndx++)
1997 int levelW = de::max(1, m_width >> ndx);
1998 int levelH = de::max(1, m_height >> ndx);
2007 glTexImage2D(GL_TEXTURE_2D, ndx, m_format, levelW, levelH, 0, m_format, m_dataType, data.getAccess().getDataPtr());
2015 for (int ndx = 0; ndx < m_numLevels; ndx++)
2017 int levelW = de::max(1, m_width >> ndx);
2018 int levelH = de::max(1, m_height >> ndx);
2028 glCopyTexSubImage2D(GL_TEXTURE_2D, ndx, xo, yo, x, y, w, h);
2069 for (int ndx = 0; ndx < m_numLevels; ndx++)
2071 int levelSize = de::max(1, m_size >> ndx);
2082 glTexImage2D(s_cubeMapFaces[face], ndx, m_format, levelSize, levelSize, 0, m_format, m_dataType, data.getAccess().getDataPtr());
2091 for (int ndx = 0; ndx < m_numLevels; ndx++)
2093 int levelSize = de::max(1, m_size >> ndx);
2105 glCopyTexSubImage2D(s_cubeMapFaces[face], ndx, xo, yo, x, y, w, h);
2139 for (int ndx = 0; ndx < m_numLevels; ndx++)
2141 int levelW = de::max(1, m_width >> ndx);
2142 int levelH = de::max(1, m_height >> ndx);
2149 glTexSubImage2D(GL_TEXTURE_2D, ndx, 0, 0, levelW, levelH, transferFmt.format, transferFmt.dataType, levelData.getAccess().getDataPtr());
2181 for (int ndx = 0; ndx < m_numLevels; ndx++)
2183 int levelSize = de::max(1, m_size >> ndx);
2194 glTexSubImage2D(s_cubeMapFaces[face], ndx, 0, 0, levelSize, levelSize, transferFmt.format, transferFmt.dataType, levelData.getAccess().getDataPtr());
2226 for (int ndx = 0; ndx < m_numLevels; ndx++)
2228 int levelW = de::max(1, m_width >> ndx);
2229 int levelH = de::max(1, m_height >> ndx);
2236 glTexSubImage3D(GL_TEXTURE_2D_ARRAY, ndx, 0, 0, 0, levelW, levelH, m_numLayers, transferFmt.format, transferFmt.dataType, levelData.getAccess().getDataPtr());
2267 for (int ndx = 0; ndx < m_numLevels; ndx++)
2269 int levelW = de::max(1, m_width >> ndx);
2270 int levelH = de::max(1, m_height >> ndx);
2271 int levelD = de::max(1, m_depth >> ndx);
2278 glTexSubImage3D(GL_TEXTURE_3D, ndx, 0, 0, 0, levelW, levelH, levelD, transferFmt.format, transferFmt.dataType, levelData.getAccess().getDataPtr());
3158 for (int ndx = 0; ndx < m_numLevels; ndx++)
3160 const int levelW = de::max(1, m_width >> ndx);
3161 const int levelH = de::max(1, m_height >> ndx);
3168 glTexImage2D(GL_TEXTURE_2D, ndx, m_internalFormat, levelW, levelH, 0, fmt.format, fmt.dataType, levelData.getAccess().getDataPtr());
3205 for (int ndx = 0; ndx < m_numLevels; ndx++)
3207 const int levelW = de::max(1, m_width >> ndx);
3208 const int levelH = de::max(1, m_height >> ndx);
3215 glTexImage3D(GL_TEXTURE_2D_ARRAY, ndx, m_internalFormat, levelW, levelH, m_numLayers, 0, fmt.format, fmt.dataType, levelData.getAccess().getDataPtr());
3253 for (int ndx = 0; ndx < m_numLevels; ndx++)
3255 const int levelW = de::max(1, m_width >> ndx);
3256 const int levelH = de::max(1, m_height >> ndx);
3263 glTexImage2D(GL_TEXTURE_2D, ndx, m_internalFormat, levelW, levelH, 0, fmt.format, fmt.dataType, levelData.getAccess().getDataPtr());
3267 for (int ndx = 0; ndx < m_numLevels; ndx++)
3269 const int levelW = de::max(1, m_width >> ndx);
3270 const int levelH = de::max(1, m_height >> ndx);
3284 glTexSubImage2D(GL_TEXTURE_2D, ndx, x, y, w, h, fmt.format, fmt.dataType, levelData.getAccess().getDataPtr());
3323 for (int ndx = 0; ndx < m_numLevels; ndx++)
3325 const int levelW = de::max(1, m_width >> ndx);
3326 const int levelH = de::max(1, m_height >> ndx);
3333 glTexImage3D(GL_TEXTURE_2D_ARRAY, ndx, m_internalFormat, levelW, levelH, m_numLayers, 0, fmt.format, fmt.dataType, levelData.getAccess().getDataPtr());
3337 for (int ndx = 0; ndx < m_numLevels; ndx++)
3339 const int levelW = de::max(1, m_width >> ndx);
3340 const int levelH = de::max(1, m_height >> ndx);
3356 glTexSubImage3D(GL_TEXTURE_2D_ARRAY, ndx, x, y, z, w, h, d, fmt.format, fmt.dataType, levelData.getAccess().getDataPtr());
3610 for (int ndx = 0; ndx < 10; ndx++)
3616 randomTexImageGroup->addChild(new RandomOrderTexImage2DCase(m_context, (string("2d_") + de::toString(ndx)).c_str(), "", colorFormats[formatNdx].internalFormat, width, height));
3620 for (int ndx = 0; ndx < 10; ndx++)
3625 randomTexImageGroup->addChild(new RandomOrderTexImageCubeCase(m_context, (string("cube_") + de::toString(ndx)).c_str(), "", colorFormats[formatNdx].internalFormat, size));
3703 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(cases); ndx++)
3704 paramGroup->addChild(new TexImage2DParamsCase(m_context, cases[ndx].name, "",
3705 cases[ndx].format,
3706 cases[ndx].width,
3707 cases[ndx].height,
3708 cases[ndx].rowLength,
3709 cases[ndx].skipRows,
3710 cases[ndx].skipPixels,
3711 cases[ndx].alignment));
3752 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(parameterCases); ndx++)
3754 pboGroup->addChild(new TexImage2DBufferCase(m_context, (string(parameterCases[ndx].name) + "_2d").c_str(), "",
3755 parameterCases[ndx].format,
3756 parameterCases[ndx].width,
3757 parameterCases[ndx].height,
3758 parameterCases[ndx].rowLength,
3759 parameterCases[ndx].skipRows,
3760 parameterCases[ndx].skipPixels,
3761 parameterCases[ndx].alignment,
3762 parameterCases[ndx].offset));
3763 pboGroup->addChild(new TexImageCubeBufferCase(m_context, (string(parameterCases[ndx].name) + "_cube").c_str(), "",
3764 parameterCases[ndx].format,
3765 parameterCases[ndx].width,
3766 parameterCases[ndx].rowLength,
3767 parameterCases[ndx].skipRows,
3768 parameterCases[ndx].skipPixels,
3769 parameterCases[ndx].alignment,
3770 parameterCases[ndx].offset));
3779 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(depthStencilFormats); ndx++)
3784 shadow2dGroup->addChild(new TexImage2DDepthCase(m_context, depthStencilFormats[ndx].name, "", depthStencilFormats[ndx].internalFormat, tex2DWidth, tex2DHeight));
3793 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(depthStencilFormats); ndx++)
3798 shadow2dGroup->addChild(new TexImage2DDepthBufferCase(m_context, depthStencilFormats[ndx].name, "", depthStencilFormats[ndx].internalFormat, tex2DWidth, tex2DHeight));
3921 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(cases); ndx++)
3922 paramGroup->addChild(new TexSubImage2DParamsCase(m_context, cases[ndx].name, "",
3923 cases[ndx].format,
3924 cases[ndx].width,
3925 cases[ndx].height,
3926 cases[ndx].subX,
3927 cases[ndx].subY,
3928 cases[ndx].subW,
3929 cases[ndx].subH,
3930 cases[ndx].rowLength,
3931 cases[ndx].skipRows,
3932 cases[ndx].skipPixels,
3933 cases[ndx].alignment));
3965 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(colorFormats); ndx++)
3967 pboGroup->addChild(new TexSubImage2DBufferCase(m_context, (std::string(colorFormats[ndx].name) + "_2d").c_str(), "",
3968 colorFormats[ndx].internalFormat,
3980 pboGroup->addChild(new TexSubImageCubeBufferCase(m_context, (std::string(colorFormats[ndx].name) + "_cube").c_str(), "",
3981 colorFormats[ndx].internalFormat,
3994 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(paramCases); ndx++)
3996 pboGroup->addChild(new TexSubImage2DBufferCase(m_context, (std::string(paramCases[ndx].name) + "_2d").c_str(), "",
3997 paramCases[ndx].format,
3998 paramCases[ndx].width,
3999 paramCases[ndx].height,
4000 paramCases[ndx].subX,
4001 paramCases[ndx].subY,
4002 paramCases[ndx].subW,
4003 paramCases[ndx].subH,
4004 paramCases[ndx].rowLength,
4005 paramCases[ndx].skipRows,
4006 paramCases[ndx].skipPixels,
4007 paramCases[ndx].alignment,
4008 paramCases[ndx].offset));
4009 pboGroup->addChild(new TexSubImageCubeBufferCase(m_context, (std::string(paramCases[ndx].name) + "_cube").c_str(), "",
4010 paramCases[ndx].format,
4011 paramCases[ndx].width,
4012 paramCases[ndx].subX,
4013 paramCases[ndx].subY,
4014 paramCases[ndx].subW,
4015 paramCases[ndx].subH,
4016 paramCases[ndx].rowLength,
4017 paramCases[ndx].skipRows,
4018 paramCases[ndx].skipPixels,
4019 paramCases[ndx].alignment,
4020 paramCases[ndx].offset));
4032 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(depthStencilFormats); ndx++)
4037 shadow2dGroup->addChild(new TexSubImage2DDepthCase(m_context, depthStencilFormats[ndx].name, "", depthStencilFormats[ndx].internalFormat, tex2DWidth, tex2DHeight));
4133 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(cases); ndx++)
4134 paramGroup->addChild(new TexImage3DParamsCase(m_context, cases[ndx].name, "",
4135 cases[ndx].format,
4136 cases[ndx].width,
4137 cases[ndx].height,
4138 cases[ndx].depth,
4139 cases[ndx].imageHeight,
4140 cases[ndx].rowLength,
4141 cases[ndx].skipImages,
4142 cases[ndx].skipRows,
4143 cases[ndx].skipPixels,
4144 cases[ndx].alignment));
4190 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(parameterCases); ndx++)
4192 pboGroup->addChild(new TexImage2DArrayBufferCase(m_context, (string(parameterCases[ndx].name) + "_2d_array").c_str(), "",
4193 parameterCases[ndx].format,
4194 parameterCases[ndx].width,
4195 parameterCases[ndx].depth,
4196 parameterCases[ndx].height,
4197 parameterCases[ndx].imageHeight,
4198 parameterCases[ndx].rowLength,
4199 parameterCases[ndx].skipImages,
4200 parameterCases[ndx].skipRows,
4201 parameterCases[ndx].skipPixels,
4202 parameterCases[ndx].alignment,
4203 parameterCases[ndx].offset));
4204 pboGroup->addChild(new TexImage3DBufferCase(m_context, (string(parameterCases[ndx].name) + "_3d").c_str(), "",
4205 parameterCases[ndx].format,
4206 parameterCases[ndx].width,
4207 parameterCases[ndx].depth,
4208 parameterCases[ndx].height,
4209 parameterCases[ndx].imageHeight,
4210 parameterCases[ndx].rowLength,
4211 parameterCases[ndx].skipImages,
4212 parameterCases[ndx].skipRows,
4213 parameterCases[ndx].skipPixels,
4214 parameterCases[ndx].alignment,
4215 parameterCases[ndx].offset));
4224 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(depthStencilFormats); ndx++)
4230 shadow3dGroup->addChild(new TexImage2DArrayDepthCase(m_context, (std::string(depthStencilFormats[ndx].name) + "_2d_array").c_str(), "", depthStencilFormats[ndx].internalFormat, tex3DWidth, tex3DHeight, tex3DDepth));
4239 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(depthStencilFormats); ndx++)
4245 shadow3dGroup->addChild(new TexImage2DArrayDepthBufferCase(m_context, (std::string(depthStencilFormats[ndx].name) + "_2d_array").c_str(), "", depthStencilFormats[ndx].internalFormat, tex3DWidth, tex3DHeight, tex3DDepth));
4307 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(cases); ndx++)
4308 paramGroup->addChild(new TexSubImage3DParamsCase(m_context, cases[ndx].name, "",
4309 cases[ndx].format,
4310 cases[ndx].width,
4311 cases[ndx].height,
4312 cases[ndx].depth,
4313 cases[ndx].subX,
4314 cases[ndx].subY,
4315 cases[ndx].subZ,
4316 cases[ndx].subW,
4317 cases[ndx].subH,
4318 cases[ndx].subD,
4319 cases[ndx].imageHeight,
4320 cases[ndx].rowLength,
4321 cases[ndx].skipImages,
4322 cases[ndx].skipRows,
4323 cases[ndx].skipPixels,
4324 cases[ndx].alignment));
4362 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(colorFormats); ndx++)
4364 pboGroup->addChild(new TexSubImage2DArrayBufferCase(m_context, (std::string(colorFormats[ndx].name) + "_2d_array").c_str(), "",
4365 colorFormats[ndx].internalFormat,
4382 pboGroup->addChild(new TexSubImage3DBufferCase(m_context, (std::string(colorFormats[ndx].name) + "_3d").c_str(), "",
4383 colorFormats[ndx].internalFormat,
4402 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(paramCases); ndx++)
4404 pboGroup->addChild(new TexSubImage2DArrayBufferCase(m_context, (std::string(paramCases[ndx].name) + "_2d_array").c_str(), "",
4405 paramCases[ndx].format,
4406 paramCases[ndx].width,
4407 paramCases[ndx].height,
4408 paramCases[ndx].depth,
4409 paramCases[ndx].subX,
4410 paramCases[ndx].subY,
4411 paramCases[ndx].subZ,
4412 paramCases[ndx].subW,
4413 paramCases[ndx].subH,
4414 paramCases[ndx].subD,
4415 paramCases[ndx].imageHeight,
4416 paramCases[ndx].rowLength,
4417 paramCases[ndx].skipImages,
4418 paramCases[ndx].skipRows,
4419 paramCases[ndx].skipPixels,
4420 paramCases[ndx].alignment,
4421 paramCases[ndx].offset));
4422 pboGroup->addChild(new TexSubImage3DBufferCase(m_context, (std::string(paramCases[ndx].name) + "_3d").c_str(), "",
4423 paramCases[ndx].format,
4424 paramCases[ndx].width,
4425 paramCases[ndx].height,
4426 paramCases[ndx].depth,
4427 paramCases[ndx].subX,
4428 paramCases[ndx].subY,
4429 paramCases[ndx].subZ,
4430 paramCases[ndx].subW,
4431 paramCases[ndx].subH,
4432 paramCases[ndx].subD,
4433 paramCases[ndx].imageHeight,
4434 paramCases[ndx].rowLength,
4435 paramCases[ndx].skipImages,
4436 paramCases[ndx].skipRows,
4437 paramCases[ndx].skipPixels,
4438 paramCases[ndx].alignment,
4439 paramCases[ndx].offset));
4448 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(depthStencilFormats); ndx++)
4454 shadow3dGroup->addChild(new TexSubImage2DArrayDepthCase(m_context, (std::string(depthStencilFormats[ndx].name) + "_2d_array").c_str(), "", depthStencilFormats[ndx].internalFormat, tex2DArrayWidth, tex2DArrayHeight, tex2DArrayLevels));
4533 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(tex2DSizes); ndx++)
4536 int width = tex2DSizes[ndx].width;
4537 int height = tex2DSizes[ndx].height;
4538 int levels = tex2DSizes[ndx].levels;
4544 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(cubeSizes); ndx++)
4547 int size = cubeSizes[ndx].size;
4548 int levels = cubeSizes[ndx].levels;
4635 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(tex2DArraySizes); ndx++)
4638 int width = tex2DArraySizes[ndx].width;
4639 int height = tex2DArraySizes[ndx].height;
4640 int layers = tex2DArraySizes[ndx].layers;
4641 int levels = tex2DArraySizes[ndx].levels;
4647 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(tex3DSizes); ndx++)
4650 int width = tex3DSizes[ndx].width;
4651 int height = tex3DSizes[ndx].height;
4652 int depth = tex3DSizes[ndx].depth;
4653 int levels = tex3DSizes[ndx].levels;