Lines Matching refs:levelNdx
894 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local
897 m_textures2d.back()->allocLevel(levelNdx); in init()
899 m_texturesCube.back()->allocLevel((tcu::CubeFace)face, levelNdx); in init()
901 m_textures2dArray.back()->allocLevel(levelNdx); in init()
903 m_textures3d.back()->allocLevel(levelNdx); in init()
905 …int curCellSize = deMax32(1, GRID_CELL_SIZE >> levelNdx); // \note Scale grid cell size for mipmap… in init()
907 tcu::PixelBufferAccess access = is2dTex ? m_textures2d.back()->getLevel(levelNdx) in init()
908 : isCubeTex ? m_texturesCube.back()->getLevelFace(levelNdx, (tcu::CubeFace)face) in init()
909 : is2dArrayTex ? m_textures2dArray.back()->getLevel(levelNdx) in init()
910 : m_textures3d.back()->getLevel(levelNdx); in init()
1063 for (int levelNdx = 0; levelNdx < texture->getNumLevels(); levelNdx++) in upload2dTexture() local
1065 if (texture->isLevelEmpty(levelNdx)) in upload2dTexture()
1068 tcu::ConstPixelBufferAccess access = texture->getLevel(levelNdx); in upload2dTexture()
1074 …context.texImage2D(GL_TEXTURE_2D, levelNdx, m_textureParams[texNdx].internalFormat, width, height,… in upload2dTexture()
1089 for (int levelNdx = 0; levelNdx < texture->getNumLevels(); levelNdx++) in uploadCubeTexture() local
1091 if (texture->isLevelEmpty((tcu::CubeFace)face, levelNdx)) in uploadCubeTexture()
1094 tcu::ConstPixelBufferAccess access = texture->getLevelFace(levelNdx, (tcu::CubeFace)face); in uploadCubeTexture()
1100 …context.texImage2D(s_cubeFaceTargets[face], levelNdx, m_textureParams[texNdx].internalFormat, widt… in uploadCubeTexture()
1114 for (int levelNdx = 0; levelNdx < texture->getNumLevels(); levelNdx++) in upload2dArrayTexture() local
1116 if (texture->isLevelEmpty(levelNdx)) in upload2dArrayTexture()
1119 tcu::ConstPixelBufferAccess access = texture->getLevel(levelNdx); in upload2dArrayTexture()
1127 …context.texImage3D(GL_TEXTURE_2D_ARRAY, levelNdx, m_textureParams[texNdx].internalFormat, width, h… in upload2dArrayTexture()
1140 for (int levelNdx = 0; levelNdx < texture->getNumLevels(); levelNdx++) in upload3dTexture() local
1142 if (texture->isLevelEmpty(levelNdx)) in upload3dTexture()
1145 tcu::ConstPixelBufferAccess access = texture->getLevel(levelNdx); in upload3dTexture()
1153 …context.texImage3D(GL_TEXTURE_3D, levelNdx, m_textureParams[texNdx].internalFormat, width, height,… in upload3dTexture()