Lines Matching defs:depth
92 static inline int maxLevelCount (int width, int height, int depth)
94 return (int)deLog2Floor32(de::max(width, de::max(height, depth)))+1;
186 sglr::ReferenceContextBuffers refBuffers (tcu::PixelFormat(8,8,8,renderTarget.getPixelFormat().alphaBits?8:0), 0 /* depth */, 0 /* stencil */, width, height);
522 Texture3DSpecCase (Context& context, const char* name, const char* desc, const tcu::TextureFormat& format, int width, int height, int depth, int numLevels);
536 Texture3DSpecCase::Texture3DSpecCase (Context& context, const char* name, const char* desc, const tcu::TextureFormat& format, int width, int height, int depth, int numLevels)
542 , m_depth (depth)
581 for (int depth = 0; depth < levelD; depth++)
586 shader.setDepth(((float)depth + 0.5f) / (float)levelD);
601 string sliceStr = de::toString(depth);
605 (levelNdx == 0 && depth == 0) ? tcu::COMPARE_LOG_RESULT : tcu::COMPARE_LOG_ON_ERROR);
777 BasicTexImage3DCase (Context& context, const char* name, const char* desc, deUint32 internalFormat, int width, int height, int depth)
778 : Texture3DSpecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), width, height, depth, maxLevelCount(width, height, depth))
1115 int depth,
1122 : Texture3DSpecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), width, height, depth, 1)
1419 BasicTexSubImage3DCase (Context& context, const char* name, const char* desc, deUint32 internalFormat, int width, int height, int depth)
1420 : Texture3DSpecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), width, height, depth, maxLevelCount(width, height, depth))
1758 int depth,
1771 : Texture3DSpecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), width, height, depth, 1)
2236 BasicTexStorage3DCase (Context& context, const char* name, const char* desc, deUint32 internalFormat, int width, int height, int depth, int numLevels)
2237 : Texture3DSpecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), width, height, depth, numLevels)
2435 int depth,
2443 : Texture2DArraySpecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), width, height, depth, 1)
2517 int depth,
2525 : Texture3DSpecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), width, height, depth, 1)
2789 int depth,
2803 : Texture2DArraySpecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), width, height, depth, 1)
2900 int depth,
2914 : Texture3DSpecCase (context, name, desc, glu::mapGLInternalFormat(internalFormat), width, height, depth, 1)
3001 // TexImage2D() depth case.
3047 // TexImage3D() depth case.
3094 // TexSubImage2D() depth case.
3163 // TexSubImage3D() depth case.
3235 // TexImage2D() depth case with pbo.
3295 // TexImage3D() depth case with pbo.
3449 // Depth and stencil formats
3646 // glTexImage2D() depth cases.
3648 tcu::TestCaseGroup* shadow2dGroup = new tcu::TestCaseGroup(m_testCtx, "teximage2d_depth", "glTexImage2D() with depth or depth/stencil format");
3660 // glTexImage2D() depth cases with pbo.
3662 tcu::TestCaseGroup* shadow2dGroup = new tcu::TestCaseGroup(m_testCtx, "teximage2d_depth_pbo", "glTexImage2D() with depth or depth/stencil format with pbo");
3896 // glTexSubImage2D() depth cases.
3898 tcu::TestCaseGroup* shadow2dGroup = new tcu::TestCaseGroup(m_testCtx, "texsubimage2d_depth", "glTexSubImage2D() with depth or depth/stencil format");
3977 int depth;
4007 cases[ndx].depth,
4028 int depth;
4064 parameterCases[ndx].depth,
4076 parameterCases[ndx].depth,
4088 // glTexImage3D() depth cases.
4090 tcu::TestCaseGroup* shadow3dGroup = new tcu::TestCaseGroup(m_testCtx, "teximage3d_depth", "glTexImage3D() with depth or depth/stencil format");
4103 // glTexImage3D() depth cases with pbo.
4105 tcu::TestCaseGroup* shadow3dGroup = new tcu::TestCaseGroup(m_testCtx, "teximage3d_depth_pbo", "glTexImage3D() with depth or depth/stencil format with pbo");
4145 int depth;
4181 cases[ndx].depth,
4207 int depth;
4237 10, // Depth
4255 10, // Depth
4277 paramCases[ndx].depth,
4295 paramCases[ndx].depth,
4312 // glTexSubImage3D() depth cases.
4314 tcu::TestCaseGroup* shadow3dGroup = new tcu::TestCaseGroup(m_testCtx, "texsubimage3d_depth", "glTexSubImage3D() with depth or depth/stencil format");
4351 // Depth / stencil formats.
4451 // Depth/stencil formats (only 2D texture array is supported).
4486 int depth;
4521 int depth = tex3DSizes[ndx].depth;
4523 string name = string("3d_") + de::toString(width) + "x" + de::toString(height) + "x" + de::toString(depth) + "_" + de::toString(levels) + "_levels";
4525 sizeGroup->addChild(new BasicTexStorage3DCase(m_context, name.c_str(), "", format, width, height, depth, levels));