Home
last modified time | relevance | path

Searched refs:faceNdx (Results 1 – 25 of 38) sorted by relevance

12

/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
DvktSampleVerifierUtil.cpp309 const int faceNdx, in calcCubemapFaceCoords() argument
314 DE_ASSERT(faceNdx >= 0 && faceNdx < 6); in calcCubemapFaceCoords()
342 const int mappedComp = compMap[faceNdx][compNdx]; in calcCubemapFaceCoords()
343 const int mappedSign = signMap[faceNdx][compNdx]; in calcCubemapFaceCoords()
376 const int faceNdx = 2 * compNdx + (r[compNdx] < 0.0f ? 1 : 0); in calcCandidateCubemapFaces() local
378 DE_ASSERT(faceNdx < 6); in calcCandidateCubemapFaces()
380 faceBitmap = (deUint8)(faceBitmap | (deUint8) (1U << faceNdx)); in calcCandidateCubemapFaces()
474 const int faceNdx, in wrapCubemapEdge() argument
497 const int adjacentEdgeNdx = adjacentEdges[faceNdx][edgeNdx]; in wrapCubemapEdge()
502 if (adjacentEdgeDirs[faceNdx][edgeNdx] > 0) in wrapCubemapEdge()
[all …]
DvktSampleVerifierUtil.hpp80 const int faceNdx,
90 const int faceNdx,
95 const int faceNdx,
DvktSampleVerifier.cpp874 for (int faceNdx = 0; faceNdx < 6; ++faceNdx) in verifySampleImpl() local
876 const bool isPossible = ((faceBitmap & (1U << faceNdx)) != 0); in verifySampleImpl()
887 calcCubemapFaceCoords(r, drdx, drdy, faceNdx, coordFace, dPdxFace, dPdyFace); in verifySampleImpl()
894 faceNdx, in verifySampleImpl()
DvktTextureMipmapTests.cpp457 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in TextureCubeMipmapTestInstance() local
466 switch (faceNdx) in TextureCubeMipmapTestInstance()
477 tcu::clear(m_texture->getLevel(levelNdx, (tcu::CubeFace)faceNdx), tcu::RGBA(color).toVec()); in TextureCubeMipmapTestInstance()
1269 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in TextureCubeLodControlTestInstance() local
1278 switch (faceNdx) in TextureCubeLodControlTestInstance()
1290 tcu::clear(m_texture->getLevel(levelNdx, (tcu::CubeFace)faceNdx), tcu::RGBA(color).toVec()); in TextureCubeLodControlTestInstance()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifierUtil.cpp309 const int faceNdx, in calcCubemapFaceCoords() argument
314 DE_ASSERT(faceNdx >= 0 && faceNdx < 6); in calcCubemapFaceCoords()
342 const int mappedComp = compMap[faceNdx][compNdx]; in calcCubemapFaceCoords()
343 const int mappedSign = signMap[faceNdx][compNdx]; in calcCubemapFaceCoords()
376 const int faceNdx = 2 * compNdx + (r[compNdx] < 0.0f ? 1 : 0); in calcCandidateCubemapFaces() local
378 DE_ASSERT(faceNdx < 6); in calcCandidateCubemapFaces()
380 faceBitmap = (deUint8)(faceBitmap | (deUint8) (1U << faceNdx)); in calcCandidateCubemapFaces()
474 const int faceNdx, in wrapCubemapEdge() argument
497 const int adjacentEdgeNdx = adjacentEdges[faceNdx][edgeNdx]; in wrapCubemapEdge()
502 if (adjacentEdgeDirs[faceNdx][edgeNdx] > 0) in wrapCubemapEdge()
[all …]
DvktSampleVerifierUtil.hpp80 const int faceNdx,
90 const int faceNdx,
95 const int faceNdx,
DvktSampleVerifier.cpp874 for (int faceNdx = 0; faceNdx < 6; ++faceNdx) in verifySampleImpl() local
876 const bool isPossible = ((faceBitmap & (1U << faceNdx)) != 0); in verifySampleImpl()
887 calcCubemapFaceCoords(r, drdx, drdy, faceNdx, coordFace, dPdxFace, dPdyFace); in verifySampleImpl()
894 faceNdx, in verifySampleImpl()
DvktTextureMipmapTests.cpp457 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in TextureCubeMipmapTestInstance() local
466 switch (faceNdx) in TextureCubeMipmapTestInstance()
477 tcu::clear(m_texture->getLevel(levelNdx, (tcu::CubeFace)faceNdx), tcu::RGBA(color).toVec()); in TextureCubeMipmapTestInstance()
1269 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in TextureCubeLodControlTestInstance() local
1278 switch (faceNdx) in TextureCubeLodControlTestInstance()
1290 tcu::clear(m_texture->getLevel(levelNdx, (tcu::CubeFace)faceNdx), tcu::RGBA(color).toVec()); in TextureCubeLodControlTestInstance()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fStencilTexturingTests.cpp471 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in stencilToUnorm8() local
473 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in stencilToUnorm8()
683 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in iterate() local
685 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
686 const int stencilVal = 42*faceNdx; in iterate()
697 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in iterate() local
698 …renderCtx, glu::getGLCubeFace(tcu::CubeFace(faceNdx)), 0, 0, 0, texData.getLevelFace(0, tcu::CubeF… in iterate()
Des31fCopyImageTests.cpp761 int faceNdx, in genericTexImage() argument
768 const deUint32 glTarget = (target == GL_TEXTURE_CUBE_MAP ? mapFaceNdxToFace(faceNdx) : target); in genericTexImage()
770 DE_ASSERT(target == GL_TEXTURE_CUBE_MAP || faceNdx == 0); in genericTexImage()
846 for (int faceNdx = 0; faceNdx < faceCount; faceNdx++) in genTextureImage() local
848 …RestrictiveFormat, texelBlockSize, levelTexelBlockCount, level.getElementPtr(faceNdx * levelSize)); in genTextureImage()
850 …TexImage(gl, info.getTarget(), faceNdx, levelNdx, levelPixelSize, info.getFormat(), levelSize, lev… in genTextureImage()
1076 int faceNdx) in getCubeLevelAccesses() argument
1094 …Size.x(), levelPixelSize.y(), levelPixelSize.z(), data[level].getElementPtr(levelSize * faceNdx))); in getCubeLevelAccesses()
1491 for (int faceNdx = 0; faceNdx < 6; faceNdx++) in renderTextureCubemap() local
1493 levelAccesses[faceNdx].resize(getLevelCount(info)); in renderTextureCubemap()
[all …]
Des31fTextureFilteringTests.cpp371 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in iterate() local
373 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineImageSamplingInstance.cpp1198 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; ++faceNdx) in createSwizzledCopy() local
1202 copy->allocLevel((tcu::CubeFace)faceNdx, levelNdx); in createSwizzledCopy()
1203 …texture.getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), copy->getLevelFace(levelNdx, (tcu::CubeFac… in createSwizzledCopy()
1348 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; ++faceNdx) in getTextureCubeView() local
1353 : texCube->getTexture().getLevelFace(levelNdx, s_faceMap[faceNdx]); in getTextureCubeView()
1355 …levels[faceNdx*subresource.levelCount + levelNdx] = tcu::getSubregion(srcLevel, 0, 0, (int)subreso… in getTextureCubeView()
1362 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; ++faceNdx) in getTextureCubeView() local
1363 reordered[s_faceMap[faceNdx]] = &levels[faceNdx*subresource.levelCount]; in getTextureCubeView()
DvktPipelineImageUtil.cpp1403 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in TestTextureCube() local
1405 m_texture.allocLevel(tcuFaceMapping[faceNdx], levelNdx); in TestTextureCube()
1406 TestTexture::fillWithGradient(m_texture.getLevelFace(levelNdx, tcuFaceMapping[faceNdx])); in TestTextureCube()
1419 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in TestTextureCube() local
1421 m_texture.allocLevel(tcuFaceMapping[faceNdx], levelNdx); in TestTextureCube()
1422 …levels[levelNdx * tcu::CUBEFACE_LAST + faceNdx] = m_texture.getLevelFace(levelNdx, tcuFaceMapping[ in TestTextureCube()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageSamplingInstance.cpp1198 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; ++faceNdx) in createSwizzledCopy() local
1202 copy->allocLevel((tcu::CubeFace)faceNdx, levelNdx); in createSwizzledCopy()
1203 …texture.getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), copy->getLevelFace(levelNdx, (tcu::CubeFac… in createSwizzledCopy()
1348 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; ++faceNdx) in getTextureCubeView() local
1353 : texCube->getTexture().getLevelFace(levelNdx, s_faceMap[faceNdx]); in getTextureCubeView()
1355 …levels[faceNdx*subresource.levelCount + levelNdx] = tcu::getSubregion(srcLevel, 0, 0, (int)subreso… in getTextureCubeView()
1362 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; ++faceNdx) in getTextureCubeView() local
1363 reordered[s_faceMap[faceNdx]] = &levels[faceNdx*subresource.levelCount]; in getTextureCubeView()
DvktPipelineImageUtil.cpp1403 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in TestTextureCube() local
1405 m_texture.allocLevel(tcuFaceMapping[faceNdx], levelNdx); in TestTextureCube()
1406 TestTexture::fillWithGradient(m_texture.getLevelFace(levelNdx, tcuFaceMapping[faceNdx])); in TestTextureCube()
1419 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in TestTextureCube() local
1421 m_texture.allocLevel(tcuFaceMapping[faceNdx], levelNdx); in TestTextureCube()
1422 …levels[levelNdx * tcu::CUBEFACE_LAST + faceNdx] = m_texture.getLevelFace(levelNdx, tcuFaceMapping[ in TestTextureCube()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fTextureMipmapTests.cpp516 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in init() local
525 switch (faceNdx) 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()
1003 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in iterate() local
1005 …rTarget(), levelWidth*3, levelHeight*2, deStringHash(getName()) ^ deInt32Hash(levelNdx + faceNdx)); in iterate()
1006 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
Des2fTextureFilteringTests.cpp566 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in iterate() local
568 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
/third_party/vk-gl-cts/modules/gles2/accuracy/
Des2aTextureMipmapTests.cpp460 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in init() local
469 switch (faceNdx) in init()
481 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx); in init()
482 …tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), tcu::RGBA(co… in init()
/third_party/vk-gl-cts/modules/gles3/accuracy/
Des3aTextureMipmapTests.cpp447 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in init() local
456 switch (faceNdx) in init()
468 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx); in init()
469 …tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), tcu::RGBA(co… in init()
/third_party/vk-gl-cts/modules/egl/
DteglImageUtil.cpp317 for (int faceNdx = 0; faceNdx < DE_LENGTH_OF_ARRAY(faces); faceNdx++) in initTexture() local
318 …GLU_CHECK_GLW_CALL(gl, texImage2D(faces[faceNdx], 0, m_internalFormat, IMAGE_WIDTH, IMAGE_HEIGHT, … in initTexture()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fTextureMipmapTests.cpp555 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in init() local
564 switch (faceNdx) in init()
576 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx); in init()
577 …tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), tcu::RGBA(co… in init()
1038 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in iterate() local
1040 …rTarget(), levelWidth*3, levelHeight*2, deStringHash(getName()) ^ deInt32Hash(levelNdx + faceNdx)); in iterate()
1041 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
1769 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in init() local
1778 switch (faceNdx) in init()
1790 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx); in init()
[all …]
Des3fTextureShadowTests.cpp635 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in iterate() local
637 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
/third_party/vk-gl-cts/framework/common/
DtcuTexCompareVerifier.cpp1110 for (int faceNdx = 0; faceNdx < CUBEFACE_LAST; faceNdx++) in isCubeLevelCompareResultValid() local
1112 levelsAtLayer[faceNdx].resize(numLevels); in isCubeLevelCompareResultValid()
1118faceNdx][levelNdx] = ConstPixelBufferAccess(level.getFormat(), level.getWidth(), level.getHeight()… in isCubeLevelCompareResultValid()
1162 for (int faceNdx = 0; faceNdx < CUBEFACE_LAST; faceNdx++) in isCubeMipmapLinearCompareResultValid() local
1164 levelsAtLayer[faceNdx].resize(numLevels); in isCubeMipmapLinearCompareResultValid()
1170faceNdx][levelNdx] = ConstPixelBufferAccess(level.getFormat(), level.getWidth(), level.getHeight()… in isCubeMipmapLinearCompareResultValid()
DtcuTexLookupVerifier.cpp1747 for (int faceNdx = 0; faceNdx < CUBEFACE_LAST; faceNdx++) in getCubeLevelFaces() local
1748 out[faceNdx] = texture.getLevelFace(levelNdx, (CubeFace)faceNdx); in getCubeLevelFaces()
2092 for (int faceNdx = 0; faceNdx < CUBEFACE_LAST; faceNdx++) in getCubeArrayLevelFaces() local
2094 const CubeFace face = (CubeFace)faceNdx; in getCubeArrayLevelFaces()
2095 …out[faceNdx] = getSubregion(level, 0, 0, layerDepth + getCubeArrayFaceIndex(face), level.getWidth(… in getCubeArrayLevelFaces()
/third_party/vk-gl-cts/modules/gles2/stress/
Des2sSpecialFloatTests.cpp1100 for (int faceNdx = 0; faceNdx < DE_LENGTH_OF_ARRAY(faces); ++faceNdx) in init() local
1101 …gl.texImage2D(faces[faceNdx], 0, GL_RGBA, TEST_TEXTURE_CUBE_SIZE, TEST_TEXTURE_CUBE_SIZE, 0, GL_RG… in init()

12