/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktSampleVerifierUtil.cpp | 309 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 …]
|
D | vktSampleVerifierUtil.hpp | 80 const int faceNdx, 90 const int faceNdx, 95 const int faceNdx,
|
D | vktSampleVerifier.cpp | 874 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()
|
D | vktTextureMipmapTests.cpp | 440 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in TextureCubeMipmapTestInstance() local 449 switch (faceNdx) in TextureCubeMipmapTestInstance() 460 tcu::clear(m_texture->getLevel(levelNdx, (tcu::CubeFace)faceNdx), tcu::RGBA(color).toVec()); in TextureCubeMipmapTestInstance() 1214 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in TextureCubeLodControlTestInstance() local 1223 switch (faceNdx) in TextureCubeLodControlTestInstance() 1235 tcu::clear(m_texture->getLevel(levelNdx, (tcu::CubeFace)faceNdx), tcu::RGBA(color).toVec()); in TextureCubeLodControlTestInstance()
|
D | vktTextureShadowTests.cpp | 588 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in iterate() local 590 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fStencilTexturingTests.cpp | 471 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()
|
D | es31fCopyImageTests.cpp | 761 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 …]
|
D | es31fTextureFilteringTests.cpp | 371 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/vulkan/pipeline/ |
D | vktPipelineImageSamplingInstance.cpp | 1175 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; ++faceNdx) in createSwizzledCopy() local 1179 copy->allocLevel((tcu::CubeFace)faceNdx, levelNdx); in createSwizzledCopy() 1180 …texture.getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), copy->getLevelFace(levelNdx, (tcu::CubeFac… in createSwizzledCopy() 1325 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; ++faceNdx) in getTextureCubeView() local 1330 : texCube->getTexture().getLevelFace(levelNdx, s_faceMap[faceNdx]); in getTextureCubeView() 1332 …levels[faceNdx*subresource.levelCount + levelNdx] = tcu::getSubregion(srcLevel, 0, 0, (int)subreso… in getTextureCubeView() 1339 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; ++faceNdx) in getTextureCubeView() local 1340 reordered[s_faceMap[faceNdx]] = &levels[faceNdx*subresource.levelCount]; in getTextureCubeView()
|
D | vktPipelineImageUtil.cpp | 1361 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in TestTextureCube() local 1363 m_texture.allocLevel(tcuFaceMapping[faceNdx], levelNdx); in TestTextureCube() 1364 TestTexture::fillWithGradient(m_texture.getLevelFace(levelNdx, tcuFaceMapping[faceNdx])); in TestTextureCube() 1377 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in TestTextureCube() local 1379 m_texture.allocLevel(tcuFaceMapping[faceNdx], levelNdx); in TestTextureCube() 1380 …levels[levelNdx * tcu::CUBEFACE_LAST + faceNdx] = m_texture.getLevelFace(levelNdx, tcuFaceMapping[… in TestTextureCube()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fTextureMipmapTests.cpp | 516 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()
|
D | es2fTextureFilteringTests.cpp | 566 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in iterate() local 568 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
|
D | es2fTextureUnitTests.cpp | 385 int faceNdx = rnd.getInt(0, (int)tcu::CUBEFACE_LAST - 1); in MultiTexShader() local 387 …Mat3 finalTrans = Mat3(s_cubeTransforms[faceNdx]) * planarTrans; // Final transformation from pla… in MultiTexShader()
|
/third_party/vk-gl-cts/modules/gles2/accuracy/ |
D | es2aTextureMipmapTests.cpp | 460 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/ |
D | es3aTextureMipmapTests.cpp | 447 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/ |
D | teglImageUtil.cpp | 317 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/ |
D | es3fTextureMipmapTests.cpp | 555 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 …]
|
D | es3fTextureShadowTests.cpp | 635 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in iterate() local 637 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
|
D | es3fTextureFilteringTests.cpp | 616 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in iterate() local 618 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuTexCompareVerifier.cpp | 1110 for (int faceNdx = 0; faceNdx < CUBEFACE_LAST; faceNdx++) in isCubeLevelCompareResultValid() local 1112 levelsAtLayer[faceNdx].resize(numLevels); in isCubeLevelCompareResultValid() 1118 …faceNdx][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() 1170 …faceNdx][levelNdx] = ConstPixelBufferAccess(level.getFormat(), level.getWidth(), level.getHeight()… in isCubeMipmapLinearCompareResultValid()
|
D | tcuTexLookupVerifier.cpp | 1747 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()
|
D | tcuTextureUtil.cpp | 1572 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; ++faceNdx) in getEffectiveTView() local 1574 …storage[faceNdx * src.getNumLevels() + levelNdx] = tcu::getEffectiveDepthStencilAccess(src.getLeve… in getEffectiveTView()
|
/third_party/vk-gl-cts/modules/gles2/stress/ |
D | es2sSpecialFloatTests.cpp | 1100 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()
|
/third_party/vk-gl-cts/modules/gles3/stress/ |
D | es3sSpecialFloatTests.cpp | 1455 for (int faceNdx = 0; faceNdx < DE_LENGTH_OF_ARRAY(faces); ++faceNdx) in init() local 1456 …gl.texImage2D(faces[faceNdx], 0, GL_RGBA8, TEST_TEXTURE_CUBE_SIZE, TEST_TEXTURE_CUBE_SIZE, 0, GL_R… in init()
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluTextureTestUtil.cpp | 3272 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in compareGenMipmapResult() local 3274 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in compareGenMipmapResult() 3277 ("Level0Face" + de::toString(faceNdx)).c_str(), in compareGenMipmapResult() 3292 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in compareGenMipmapResult() local 3294 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in compareGenMipmapResult() 3337 …mageSet(string("Level") + de::toString(levelNdx) + "Face" + de::toString(faceNdx), string("Level "… in compareGenMipmapResult()
|