Home
last modified time | relevance | path

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

12

/external/deqp/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.cpp440 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()
DvktTextureShadowTests.cpp551 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in iterate() local
553 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
/external/deqp/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()
680 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in iterate() local
682 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
683 const int stencilVal = 42*faceNdx; in iterate()
694 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in iterate() local
695 …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.cpp359 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in iterate() local
361 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageSamplingInstance.cpp1103 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; ++faceNdx) in createSwizzledCopy() local
1107 copy->allocLevel((tcu::CubeFace)faceNdx, levelNdx); in createSwizzledCopy()
1108 …texture.getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), copy->getLevelFace(levelNdx, (tcu::CubeFac… in createSwizzledCopy()
1253 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; ++faceNdx) in getTextureCubeView() local
1258 : texCube->getTexture().getLevelFace(levelNdx, s_faceMap[faceNdx]); in getTextureCubeView()
1260 …levels[faceNdx*subresource.levelCount + levelNdx] = tcu::getSubregion(srcLevel, 0, 0, (int)subreso… in getTextureCubeView()
1267 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; ++faceNdx) in getTextureCubeView() local
1268 reordered[s_faceMap[faceNdx]] = &levels[faceNdx*subresource.levelCount]; in getTextureCubeView()
DvktPipelineImageUtil.cpp1346 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in TestTextureCube() local
1348 m_texture.allocLevel(tcuFaceMapping[faceNdx], levelNdx); in TestTextureCube()
1349 TestTexture::fillWithGradient(m_texture.getLevelFace(levelNdx, tcuFaceMapping[faceNdx])); in TestTextureCube()
1362 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in TestTextureCube() local
1364 m_texture.allocLevel(tcuFaceMapping[faceNdx], levelNdx); in TestTextureCube()
1365 …levels[levelNdx * tcu::CUBEFACE_LAST + faceNdx] = m_texture.getLevelFace(levelNdx, tcuFaceMapping[ in TestTextureCube()
/external/deqp/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()
Des2fTextureUnitTests.cpp385 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()
/external/deqp/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()
/external/deqp/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()
/external/deqp/modules/egl/
DteglImageUtil.cpp315 for (int faceNdx = 0; faceNdx < DE_LENGTH_OF_ARRAY(faces); faceNdx++) in initTexture() local
316 …GLU_CHECK_GLW_CALL(gl, texImage2D(faces[faceNdx], 0, m_internalFormat, IMAGE_WIDTH, IMAGE_HEIGHT, … in initTexture()
/external/deqp/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()
Des3fTextureFilteringTests.cpp613 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in iterate() local
615 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
/external/deqp/framework/common/
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()
DtcuTextureUtil.cpp1494 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; ++faceNdx) in getEffectiveTView() local
1496 …storage[faceNdx * src.getNumLevels() + levelNdx] = tcu::getEffectiveDepthStencilAccess(src.getLeve… in getEffectiveTView()
/external/deqp/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()
/external/deqp/modules/gles3/stress/
Des3sSpecialFloatTests.cpp1455 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()
/external/deqp/framework/opengl/
DgluTextureTestUtil.cpp2914 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in compareGenMipmapResult() local
2916 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in compareGenMipmapResult()
2919 ("Level0Face" + de::toString(faceNdx)).c_str(), in compareGenMipmapResult()
2934 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; faceNdx++) in compareGenMipmapResult() local
2936 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in compareGenMipmapResult()
2979 …mageSet(string("Level") + de::toString(levelNdx) + "Face" + de::toString(faceNdx), string("Level "… in compareGenMipmapResult()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp1384 for (int faceNdx = 0; faceNdx < tcu::CUBEFACE_LAST; ++faceNdx) in useSampler() local
1386 tcu::CubeFace face = cubeFaceMapping[faceNdx]; in useSampler()

12