/third_party/vk-gl-cts/framework/common/ |
D | tcuTexture.hpp | 531 int getNumLevels (void) const { return m_numLevels; } in getNumLevels() 532 int getWidth (void) const { return m_numLevels > 0 ? m_levels[0].getWidth() : 0; } in getWidth() 533 int getHeight (void) const { return m_numLevels > 0 ? m_levels[0].getHeight() : 0; } in getHeight() 534 …ferAccess& getLevel (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLevels)); return m_lev… in getLevel() 547 int m_numLevels; member in tcu::Texture2DView 553 : m_numLevels (numLevels) in Texture2DView() 557 DE_ASSERT(m_numLevels >= 0 && ((m_numLevels == 0) == !m_levels)); in Texture2DView() 562 return sampleLevelArray2D(m_levels, m_numLevels, sampler, s, t, 0 /* depth */, lod, m_es2); in sample() 567 …return sampleLevelArray2DOffset(m_levels, m_numLevels, sampler, s, t, lod, IVec3(offset.x(), offse… in sampleOffset() 572 return sampleLevelArray2DCompare(m_levels, m_numLevels, sampler, ref, s, t, lod, IVec3(0, 0, 0)); in sampleCompare() [all …]
|
D | tcuTexture.cpp | 3632 : m_numLevels(0) in TextureCubeView() 3639 : m_numLevels(numLevels) in TextureCubeView() 3653 …return sampleLevelArrayCubeSeamless(m_levels, m_numLevels, coords.face, sampler, coords.s, coords.… in sample() 3655 …return sampleLevelArray2D(m_levels[coords.face], m_numLevels, sampler, coords.s, coords.t, 0 /* de… in sample() 3665 …return sampleLevelArrayCubeSeamlessCompare(m_levels, m_numLevels, coords.face, sampler, ref, coord… in sampleCompare() 3667 …return sampleLevelArray2DCompare(m_levels[coords.face], m_numLevels, sampler, ref, coords.s, coord… in sampleCompare() 3830 : m_numLevels (numLevels) in Texture1DArrayView() 3837 DE_ASSERT(m_numLevels > 0 && m_levels); in selectLayer() 3843 return sampleLevelArray1D(m_levels, m_numLevels, sampler, s, selectLayer(t), lod); in sample() 3848 …return sampleLevelArray1DOffset(m_levels, m_numLevels, sampler, s, lod, IVec2(offset, selectLayer(… in sampleOffset() [all …]
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fTextureSpecificationTests.cpp | 262 int m_numLevels; member in deqp::gles3::Functional::Texture2DSpecCase 271 , m_numLevels (numLevels) in Texture2DSpecCase() 298 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, m_numLevels-1); in verifyTexture() 301 for (int levelNdx = 0; levelNdx < m_numLevels; levelNdx++) in verifyTexture() 346 int m_numLevels; member in deqp::gles3::Functional::TextureCubeSpecCase 354 , m_numLevels (numLevels) in TextureCubeSpecCase() 381 glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MAX_LEVEL, m_numLevels-1); in verifyTexture() 384 for (int levelNdx = 0; levelNdx < m_numLevels; levelNdx++) in verifyTexture() 445 int m_numLevels; member in deqp::gles3::Functional::Texture2DArraySpecCase 455 , m_numLevels (numLevels) in Texture2DArraySpecCase() [all …]
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fTextureSpecificationTests.cpp | 220 int m_numLevels; member in deqp::gles31::Functional::TextureCubeArraySpecCase 229 , m_numLevels (numLevels) in TextureCubeArraySpecCase() 266 glTexParameteri(GL_TEXTURE_CUBE_MAP_ARRAY, GL_TEXTURE_MAX_LEVEL, m_numLevels-1); in verifyTexture() 278 for (int levelNdx = 0; levelNdx < m_numLevels; levelNdx++) in verifyTexture() 341 for (int ndx = 0; ndx < m_numLevels; ndx++) in createTexture() 377 …glTexStorage3D (GL_TEXTURE_CUBE_MAP_ARRAY, m_numLevels, m_internalFormat, m_size, m_size, m_depth); in createTexture() 381 for (int ndx = 0; ndx < m_numLevels; ndx++) in createTexture() 441 DE_ASSERT(m_numLevels == 1); in createTexture() 530 DE_ASSERT(m_numLevels == 1); in createTexture() 619 for (int ndx = 0; ndx < m_numLevels; ndx++) in createTexture() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/gles2/ |
D | es2cTexture3DTests.cpp | 685 int m_numLevels; member in es2cts::TexSubImage3DCase 695 , m_numLevels(static_cast<int>(deLog2Floor32(de::max(width, de::max(height, depth))) + 1)) in TexSubImage3DCase() 714 for (int levelNdx = 0; levelNdx < m_numLevels; levelNdx++) in iterate() 739 for (int levelNdx = 0; levelNdx < m_numLevels - 2; levelNdx++) in iterate() 795 int m_numLevels; member in es2cts::CopyTexSubImage3DCase 806 , m_numLevels(static_cast<int>(deLog2Floor32(de::max(width, de::max(height, depth))) + 1)) in CopyTexSubImage3DCase() 843 for (int levelNdx = 0; levelNdx < m_numLevels; levelNdx++) in iterate() 866 for (int levelNdx = 0; levelNdx < m_numLevels - 2; levelNdx++) in iterate() 922 int m_numLevels; member in es2cts::FramebufferTexture3DCase 933 , m_numLevels(static_cast<int>(deLog2Floor32(de::max(width, de::max(height, depth))) + 1)) in FramebufferTexture3DCase() [all …]
|