/third_party/vk-gl-cts/framework/opengl/ |
D | gluTexture.cpp | 91 for (int levelNdx = 0; levelNdx < m_refTexture.getNumLevels(); levelNdx++) in upload() local 93 if (m_refTexture.isLevelEmpty(levelNdx)) in upload() 96 tcu::ConstPixelBufferAccess access = m_refTexture.getLevel(levelNdx); in upload() 97 …gl.texImage1D(GL_TEXTURE_1D, levelNdx, m_format, access.getWidth(), 0 /* border */, transferFormat… in upload() 174 for (int levelNdx = 0; levelNdx < m_refTexture.getNumLevels(); levelNdx++) in upload() local 176 if (m_refTexture.isLevelEmpty(levelNdx)) in upload() 179 tcu::ConstPixelBufferAccess access = m_refTexture.getLevel(levelNdx); in upload() 181 …gl.texImage2D(GL_TEXTURE_2D, levelNdx, m_format, access.getWidth(), access.getHeight(), 0 /* borde… in upload() 195 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in loadCompressed() local 197 const tcu::CompressedTexture& level = levels[levelNdx]; in loadCompressed() [all …]
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fTextureLevelStateQueryTests.cpp | 740 for (int levelNdx = 0; levelNdx < (int)spec.levels.size(); ++levelNdx) in applyTextureGenerationSpec() local 742 …t = (spec.levels[levelNdx].compressed) ? (glu::TransferFormat()) : (glu::getTransferFormat(glu::ma… in applyTextureGenerationSpec() 744 if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_2D) in applyTextureGenerationSpec() 745 …rage2D(spec.bindTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec… in applyTextureGenerationSpec() 746 else if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_3D) in applyTextureGenerationSpec() 747 …dTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.levels[levelNd… in applyTextureGenerationSpec() 748 …else if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_2D_A… in applyTextureGenerationSpec() 749 …dTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec.levels[levelNd… in applyTextureGenerationSpec() 750 …else if (spec.immutable && !spec.levels[levelNdx].compressed && spec.bindTarget == GL_TEXTURE_CUBE… in applyTextureGenerationSpec() 751 …rage2D(spec.bindTarget, 1, spec.levels[levelNdx].internalFormat, spec.levels[levelNdx].width, spec… in applyTextureGenerationSpec() [all …]
|
D | es31fStencilTexturingTests.cpp | 469 for (int levelNdx = 0; levelNdx < src.getNumLevels(); levelNdx++) in stencilToUnorm8() local 475 if (!src.isLevelEmpty(face, levelNdx)) in stencilToUnorm8() 477 dst.allocLevel(face, levelNdx); in stencilToUnorm8() 479 const tcu::ConstPixelBufferAccess srcLevel = src.getLevelFace(levelNdx, face); in stencilToUnorm8() 480 const tcu::PixelBufferAccess dstLevel = dst.getLevelFace(levelNdx, face); in stencilToUnorm8() 596 for (int levelNdx = 0; levelNdx < levels; levelNdx++) in iterate() local 598 …erAccess levelAccess = tcu::getSubregion(uploadLevel.getAccess(), 0, 0, levelNdx, width, height, 1… in iterate() 600 if (levelNdx == ptrnLevel) in iterate() 603 tcu::clearStencil(levelAccess, levelNdx); in iterate() 622 for (int levelNdx = 0; levelNdx < levels; levelNdx++) in iterate() local [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
D | vktPipelineImageUtil.cpp | 723 for (int levelNdx = 0; levelNdx < texture.getNumLevels(); levelNdx++) in allocateLevels() local 724 texture.allocLevel(levelNdx); in allocateLevels() 732 for (int levelNdx = 0; levelNdx < texture.getNumLevels(); levelNdx++) in getLevelsVector() local 733 levels[levelNdx] = *reinterpret_cast<const tcu::PixelBufferAccess*>(&texture.getLevel(levelNdx)); in getLevelsVector() 766 for (size_t levelNdx = 0; levelNdx < m_compressedLevels.size(); levelNdx++) in ~TestTexture() local 767 delete m_compressedLevels[levelNdx]; in ~TestTexture() 778 for (int levelNdx = 0; levelNdx < getNumLevels(); levelNdx++) in getSize() local 782 const tcu::ConstPixelBufferAccess level = getLevel(levelNdx, layerNdx); in getSize() 802 for (int levelNdx = 0; levelNdx < getNumLevels(); levelNdx++) in getCompressedSize() local 807 textureSize += getCompressedLevel(levelNdx, layerNdx).getDataSize(); in getCompressedSize() [all …]
|
D | vktPipelineImageSamplingInstance.cpp | 1184 for (int levelNdx = 0; levelNdx < texture.getNumLevels(); ++levelNdx) in createSwizzledCopy() local 1186 copy->allocLevel(levelNdx); in createSwizzledCopy() 1187 swizzle(texture.getLevel(levelNdx), copy->getLevel(levelNdx), swz); in createSwizzledCopy() 1200 for (int levelNdx = 0; levelNdx < texture.getNumLevels(); ++levelNdx) in createSwizzledCopy() local 1202 copy->allocLevel((tcu::CubeFace)faceNdx, levelNdx); in createSwizzledCopy() 1203 …swizzle(texture.getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), copy->getLevelFace(levelNdx, (tcu:… in createSwizzledCopy() 1253 for (int levelNdx = 0; levelNdx < (int)levels.size(); ++levelNdx) in getTexture1DView() local 1255 …erAccess& srcLevel = testTexture.getLevel((int)subresource.baseMipLevel+levelNdx, subresource.base… in getTexture1DView() 1257 levels[levelNdx] = tcu::getSubregion(srcLevel, 0, 0, 0, srcLevel.getWidth(), 1, 1); in getTexture1DView() 1273 for (int levelNdx = 0; levelNdx < (int)levels.size(); ++levelNdx) in getTexture1DArrayView() local [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageUtil.cpp | 723 for (int levelNdx = 0; levelNdx < texture.getNumLevels(); levelNdx++) in allocateLevels() local 724 texture.allocLevel(levelNdx); in allocateLevels() 732 for (int levelNdx = 0; levelNdx < texture.getNumLevels(); levelNdx++) in getLevelsVector() local 733 levels[levelNdx] = *reinterpret_cast<const tcu::PixelBufferAccess*>(&texture.getLevel(levelNdx)); in getLevelsVector() 766 for (size_t levelNdx = 0; levelNdx < m_compressedLevels.size(); levelNdx++) in ~TestTexture() local 767 delete m_compressedLevels[levelNdx]; in ~TestTexture() 778 for (int levelNdx = 0; levelNdx < getNumLevels(); levelNdx++) in getSize() local 782 const tcu::ConstPixelBufferAccess level = getLevel(levelNdx, layerNdx); in getSize() 802 for (int levelNdx = 0; levelNdx < getNumLevels(); levelNdx++) in getCompressedSize() local 807 textureSize += getCompressedLevel(levelNdx, layerNdx).getDataSize(); in getCompressedSize() [all …]
|
D | vktPipelineImageSamplingInstance.cpp | 1184 for (int levelNdx = 0; levelNdx < texture.getNumLevels(); ++levelNdx) in createSwizzledCopy() local 1186 copy->allocLevel(levelNdx); in createSwizzledCopy() 1187 swizzle(texture.getLevel(levelNdx), copy->getLevel(levelNdx), swz); in createSwizzledCopy() 1200 for (int levelNdx = 0; levelNdx < texture.getNumLevels(); ++levelNdx) in createSwizzledCopy() local 1202 copy->allocLevel((tcu::CubeFace)faceNdx, levelNdx); in createSwizzledCopy() 1203 …swizzle(texture.getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), copy->getLevelFace(levelNdx, (tcu:… in createSwizzledCopy() 1253 for (int levelNdx = 0; levelNdx < (int)levels.size(); ++levelNdx) in getTexture1DView() local 1255 …erAccess& srcLevel = testTexture.getLevel((int)subresource.baseMipLevel+levelNdx, subresource.base… in getTexture1DView() 1257 levels[levelNdx] = tcu::getSubregion(srcLevel, 0, 0, 0, srcLevel.getWidth(), 1, 1); in getTexture1DView() 1273 for (int levelNdx = 0; levelNdx < (int)levels.size(); ++levelNdx) in getTexture1DArrayView() local [all …]
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fTextureCompletenessTests.cpp | 291 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture() local 293 …int levelW = (levelNdx == m_invalidLevelNdx) ? m_invalidLevelSize.x() : de::max(1, m_size.x() >> l… in createTexture() 294 …int levelH = (levelNdx == m_invalidLevelNdx) ? m_invalidLevelSize.y() : de::max(1, m_size.y() >> l… in createTexture() 299 …glTexImage2D(GL_TEXTURE_2D, levelNdx, GL_RGBA, levelW, levelH, 0, GL_RGBA, GL_UNSIGNED_BYTE, level… in createTexture() 358 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture() local 360 int levelW = de::max(1, m_size.x() >> levelNdx); in createTexture() 361 int levelH = de::max(1, m_size.y() >> levelNdx); in createTexture() 366 deUint32 format = levelNdx == m_invalidLevelNdx ? m_invalidFormat : m_format; in createTexture() 368 …glTexImage2D(GL_TEXTURE_2D, levelNdx, format, levelW, levelH, 0, format, GL_UNSIGNED_BYTE, levelDa… in createTexture() 409 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in createTexture() local [all …]
|
D | es2fTextureFilteringTests.cpp | 181 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 186 m_textures[0]->getRefTexture().allocLevel(levelNdx); in init() 187 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); in init() 191 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 194 deUint32 rgb = step*levelNdx; in init() 198 m_textures[1]->getRefTexture().allocLevel(levelNdx); in init() 199 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*… in init() 455 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 457 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init() 458 …tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFa… in init() [all …]
|
D | es2fTextureMipmapTests.cpp | 166 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 169 deUint32 inc = deClamp32(step*levelNdx, 0x00, 0xff); in init() 174 m_texture->getRefTexture().allocLevel(levelNdx); in init() 175 tcu::clear(m_texture->getRefTexture().getLevel(levelNdx), tcu::RGBA(color).toVec()); in init() 518 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 521 deUint32 inc = deClamp32(step*levelNdx, 0x00, 0xff); in init() 537 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx); in init() 538 …tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), tcu::RGBA(co… in init() 851 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in iterate() local 853 const int levelWidth = de::max(1, m_width >> levelNdx); in iterate() [all …]
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fTextureUnitTests.cpp | 896 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 899 m_textures2d.back()->allocLevel(levelNdx); in init() 901 m_texturesCube.back()->allocLevel((tcu::CubeFace)face, levelNdx); in init() 903 m_textures2dArray.back()->allocLevel(levelNdx); in init() 905 m_textures3d.back()->allocLevel(levelNdx); in init() 907 …int curCellSize = deMax32(1, GRID_CELL_SIZE >> levelNdx); // \note Scale grid cell size for mipmap… in init() 909 tcu::PixelBufferAccess access = is2dTex ? m_textures2d.back()->getLevel(levelNdx) in init() 910 : isCubeTex ? m_texturesCube.back()->getLevelFace(levelNdx, (tcu::CubeFace)face) in init() 911 : is2dArrayTex ? m_textures2dArray.back()->getLevel(levelNdx) in init() 912 : m_textures3d.back()->getLevel(levelNdx); in init() [all …]
|
D | es3fTextureShadowTests.cpp | 239 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 241 m_textures[0]->getRefTexture().allocLevel(levelNdx); in init() 242 …tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), tcu::Vec4(-0.5f… in init() 246 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 249 deUint32 rgb = step*levelNdx; in init() 253 m_textures[1]->getRefTexture().allocLevel(levelNdx); in init() 254 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec(),… in init() 508 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 510 m_gradientTex->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init() 511 …tcu::fillWithComponentGradients(m_gradientTex->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFa… in init() [all …]
|
D | es3fTextureFilteringTests.cpp | 202 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 207 m_textures[0]->getRefTexture().allocLevel(levelNdx); in init() 208 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); in init() 212 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 215 deUint32 rgb = step*levelNdx; in init() 219 m_textures[1]->getRefTexture().allocLevel(levelNdx); in init() 220 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*… in init() 493 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 495 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init() 496 …tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFa… in init() [all …]
|
D | es3fVertexTextureTests.cpp | 597 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 602 m_textures[0]->getRefTexture().allocLevel(levelNdx); in init() 603 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); in init() 607 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 610 const deUint32 rgb = step*levelNdx; in init() 614 m_textures[1]->getRefTexture().allocLevel(levelNdx); in init() 615 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*… in init() 917 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 919 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init() 920 …tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFa… in init() [all …]
|
/third_party/vk-gl-cts/modules/gles3/accuracy/ |
D | es3aTextureFilteringTests.cpp | 141 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 146 m_textures[0]->getRefTexture().allocLevel(levelNdx); in init() 147 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); in init() 151 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 154 deUint32 rgb = step*levelNdx; in init() 158 m_textures[1]->getRefTexture().allocLevel(levelNdx); in init() 159 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*… in init() 409 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 411 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init() 412 …tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFa… in init() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
D | vktTextureShadowTests.cpp | 297 for (int levelNdx = 0; levelNdx < numLevels; ++levelNdx) in Texture2DShadowTestInstance() local 299 …tcu::fillWithComponentGradients(m_textures[0]->getLevel(levelNdx, 0), tcu::Vec4(-0.5f, -0.5f, -0.5… in Texture2DShadowTestInstance() 303 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DShadowTestInstance() local 306 const deUint32 rgb = step*levelNdx; in Texture2DShadowTestInstance() 310 …tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, 0), 4, tcu::RGBA(colorA).toVec(), tcu::RGBA(co… in Texture2DShadowTestInstance() 537 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeShadowTestInstance() local 539 …tcu::fillWithComponentGradients(m_textures[0]->getLevel(levelNdx, face), gradients[face][0]*cScale… in TextureCubeShadowTestInstance() 546 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeShadowTestInstance() local 549 const deUint32 rgb = step*levelNdx*face; in TextureCubeShadowTestInstance() 553 …tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, face), 4, tcu::RGBA(colorA).toVec()*cScale + c… in TextureCubeShadowTestInstance() [all …]
|
D | vktTextureFilteringTests.cpp | 257 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DFilteringTestInstance() local 263 …tcu::fillWithComponentGradients(getEffectiveDepthStencilAccess(m_textures[0]->getLevel(levelNdx, 0… in Texture2DFilteringTestInstance() 265 tcu::fillWithComponentGradients(m_textures[0]->getLevel(levelNdx, 0), gMin, gMax); in Texture2DFilteringTestInstance() 269 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DFilteringTestInstance() local 272 const deUint32 rgb = step*levelNdx; in Texture2DFilteringTestInstance() 277 …tcu::fillWithGrid(getEffectiveDepthStencilAccess(m_textures[1]->getLevel(levelNdx, 0), tcu::Sample… in Texture2DFilteringTestInstance() 279 …tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, 0), 4, tcu::RGBA(colorA).toVec()*cScale + cBia… in Texture2DFilteringTestInstance() 481 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeFilteringTestInstance() local 484 …tcu::fillWithComponentGradients(getEffectiveDepthStencilAccess(m_textures[0]->getLevel(levelNdx, f… in TextureCubeFilteringTestInstance() 486 …tcu::fillWithComponentGradients(m_textures[0]->getLevel(levelNdx, face), gradients[face][0] * cSca… in TextureCubeFilteringTestInstance() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureShadowTests.cpp | 297 for (int levelNdx = 0; levelNdx < numLevels; ++levelNdx) in Texture2DShadowTestInstance() local 299 …tcu::fillWithComponentGradients(m_textures[0]->getLevel(levelNdx, 0), tcu::Vec4(-0.5f, -0.5f, -0.5… in Texture2DShadowTestInstance() 303 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DShadowTestInstance() local 306 const deUint32 rgb = step*levelNdx; in Texture2DShadowTestInstance() 310 …tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, 0), 4, tcu::RGBA(colorA).toVec(), tcu::RGBA(co… in Texture2DShadowTestInstance() 537 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeShadowTestInstance() local 539 …tcu::fillWithComponentGradients(m_textures[0]->getLevel(levelNdx, face), gradients[face][0]*cScale… in TextureCubeShadowTestInstance() 546 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeShadowTestInstance() local 549 const deUint32 rgb = step*levelNdx*face; in TextureCubeShadowTestInstance() 553 …tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, face), 4, tcu::RGBA(colorA).toVec()*cScale + c… in TextureCubeShadowTestInstance() [all …]
|
D | vktTextureFilteringTests.cpp | 257 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DFilteringTestInstance() local 263 …tcu::fillWithComponentGradients(getEffectiveDepthStencilAccess(m_textures[0]->getLevel(levelNdx, 0… in Texture2DFilteringTestInstance() 265 tcu::fillWithComponentGradients(m_textures[0]->getLevel(levelNdx, 0), gMin, gMax); in Texture2DFilteringTestInstance() 269 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in Texture2DFilteringTestInstance() local 272 const deUint32 rgb = step*levelNdx; in Texture2DFilteringTestInstance() 277 …tcu::fillWithGrid(getEffectiveDepthStencilAccess(m_textures[1]->getLevel(levelNdx, 0), tcu::Sample… in Texture2DFilteringTestInstance() 279 …tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, 0), 4, tcu::RGBA(colorA).toVec()*cScale + cBia… in Texture2DFilteringTestInstance() 481 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in TextureCubeFilteringTestInstance() local 484 …tcu::fillWithComponentGradients(getEffectiveDepthStencilAccess(m_textures[0]->getLevel(levelNdx, f… in TextureCubeFilteringTestInstance() 486 …tcu::fillWithComponentGradients(m_textures[0]->getLevel(levelNdx, face), gradients[face][0] * cSca… in TextureCubeFilteringTestInstance() [all …]
|
/third_party/vk-gl-cts/modules/gles2/accuracy/ |
D | es2aTextureFilteringTests.cpp | 151 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 156 m_textures[0]->getRefTexture().allocLevel(levelNdx); in init() 157 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); in init() 161 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 164 deUint32 rgb = step*levelNdx; in init() 168 m_textures[1]->getRefTexture().allocLevel(levelNdx); in init() 169 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*… in init() 423 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 425 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init() 426 …tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFa… in init() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageSubresourceLayoutTests.cpp | 460 for (deUint32 levelNdx = 0u; levelNdx < numLevels; ++levelNdx) in iterateAspect() local 462 const auto& level = bufferLevels.getLevel(levelNdx); in iterateAspect() 475 region.imageSubresource.mipLevel = levelNdx; in iterateAspect() 510 for (deUint32 levelNdx = 0u; levelNdx < numLevels; ++levelNdx) in iterateAspect() local 513 const auto levelSubresource = makeImageSubresource(imageAspect, levelNdx, 0u); in iterateAspect() 516 const auto& level = bufferLevels.getLevel(levelNdx); in iterateAspect() 519 const auto imageSubresource = makeImageSubresource(imageAspect, levelNdx, layerNdx); in iterateAspect() 532 msg << "Image level " << levelNdx in iterateAspect() 543 msg << "Image level " << levelNdx in iterateAspect() 555 msg << "Image level " << levelNdx in iterateAspect() [all …]
|
D | vktImageCompressionTranscodingSupport.cpp | 1582 for (deUint32 levelNdx = 0; levelNdx < getLevelCount(); ++levelNdx) in iterate() local 1584 DE_ASSERT(m_srcData[levelNdx][layerNdx]->size() == m_dstData[levelNdx][layerNdx]->size()); in iterate() 1591 for (deUint32 levelNdx = 0; levelNdx < getLevelCount(); ++levelNdx) in iterate() local 1595 …pression(*cmdPool, *m_srcData[levelNdx][layerNdx], m_compressedImage, levelNdx, layerNdx, m_compre… in iterate() 1600 …pression(*cmdPool, *m_dstData[levelNdx][layerNdx], m_compressedImage, levelNdx, layerNdx, m_compre… in iterate() 1638 for (deUint32 levelNdx = 0; levelNdx < getLevelCount(); ++levelNdx) in prepareData() local 1640 m_srcData[levelNdx].resize(getLayerCount()); in prepareData() 1641 m_dstData[levelNdx].resize(getLayerCount()); in prepareData() 1642 m_uncompressedImages[levelNdx].resize(getLayerCount()); in prepareData() 1646 m_srcData[levelNdx][layerNdx] = SharedPtr<RawDataVector>(new RawDataVector); in prepareData() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
D | vktImageSubresourceLayoutTests.cpp | 460 for (deUint32 levelNdx = 0u; levelNdx < numLevels; ++levelNdx) in iterateAspect() local 462 const auto& level = bufferLevels.getLevel(levelNdx); in iterateAspect() 475 region.imageSubresource.mipLevel = levelNdx; in iterateAspect() 510 for (deUint32 levelNdx = 0u; levelNdx < numLevels; ++levelNdx) in iterateAspect() local 513 const auto levelSubresource = makeImageSubresource(imageAspect, levelNdx, 0u); in iterateAspect() 516 const auto& level = bufferLevels.getLevel(levelNdx); in iterateAspect() 519 const auto imageSubresource = makeImageSubresource(imageAspect, levelNdx, layerNdx); in iterateAspect() 532 msg << "Image level " << levelNdx in iterateAspect() 543 msg << "Image level " << levelNdx in iterateAspect() 555 msg << "Image level " << levelNdx in iterateAspect() [all …]
|
D | vktImageCompressionTranscodingSupport.cpp | 1582 for (deUint32 levelNdx = 0; levelNdx < getLevelCount(); ++levelNdx) in iterate() local 1584 DE_ASSERT(m_srcData[levelNdx][layerNdx]->size() == m_dstData[levelNdx][layerNdx]->size()); in iterate() 1591 for (deUint32 levelNdx = 0; levelNdx < getLevelCount(); ++levelNdx) in iterate() local 1595 …pression(*cmdPool, *m_srcData[levelNdx][layerNdx], m_compressedImage, levelNdx, layerNdx, m_compre… in iterate() 1600 …pression(*cmdPool, *m_dstData[levelNdx][layerNdx], m_compressedImage, levelNdx, layerNdx, m_compre… in iterate() 1638 for (deUint32 levelNdx = 0; levelNdx < getLevelCount(); ++levelNdx) in prepareData() local 1640 m_srcData[levelNdx].resize(getLayerCount()); in prepareData() 1641 m_dstData[levelNdx].resize(getLayerCount()); in prepareData() 1642 m_uncompressedImages[levelNdx].resize(getLayerCount()); in prepareData() 1646 m_srcData[levelNdx][layerNdx] = SharedPtr<RawDataVector>(new RawDataVector); in prepareData() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/gles2/ |
D | es2cTexture3DTests.cpp | 261 for (int levelNdx = 0; levelNdx < referenceTexture.getNumLevels(); levelNdx++) in uploadTexture3D() local 263 if (referenceTexture.isLevelEmpty(levelNdx)) in uploadTexture3D() 266 tcu::ConstPixelBufferAccess access = referenceTexture.getLevel(levelNdx); in uploadTexture3D() 269 …callTexImage3D(GL_TEXTURE_3D, levelNdx, transferFormat.format, access.getWidth(), access.getHeight… in uploadTexture3D() 548 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 553 m_gradientTex->getRefTexture().allocLevel(levelNdx); in init() 554 tcu::fillWithComponentGradients(m_gradientTex->getRefTexture().getLevel(levelNdx), gMin, gMax); in init() 558 for (int levelNdx = 0; levelNdx < numLevels; levelNdx++) in init() local 561 deUint32 rgb = step * levelNdx; in init() 565 m_gridTex->getRefTexture().allocLevel(levelNdx); in init() [all …]
|