Home
last modified time | relevance | path

Searched refs:cScale (Results 1 – 21 of 21) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureFilteringTests.cpp120 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in Texture2DFilteringTestInstance() local
130 const tcu::Vec4 gMin = tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; in Texture2DFilteringTestInstance()
131 const tcu::Vec4 gMax = tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; in Texture2DFilteringTestInstance()
144 …getLevel(levelNdx, 0), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in Texture2DFilteringTestInstance()
310 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in TextureCubeFilteringTestInstance() local
331 …xtures[0]->getLevel(levelNdx, face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale in TextureCubeFilteringTestInstance()
345 …Level(levelNdx, face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in TextureCubeFilteringTestInstance()
525 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in Texture2DArrayFilteringTestInstance() local
550 …Vec4 gMin = tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f).swizzle(swz[0],swz[1],swz[2],swz[3])*cScale + cBias; in Texture2DArrayFilteringTestInstance()
551 …Vec4 gMax = tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f).swizzle(swz[0],swz[1],swz[2],swz[3])*cScale + cBias; in Texture2DArrayFilteringTestInstance()
[all …]
DvktTextureShadowTests.cpp442 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in TextureCubeShadowTestInstance() local
466 …xtures[0]->getLevel(levelNdx, face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale in TextureCubeShadowTestInstance()
480 …Level(levelNdx, face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in TextureCubeShadowTestInstance()
659 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in Texture2DArrayShadowTestInstance() local
672 const tcu::Vec4 gMin = tcu::Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; in Texture2DArrayShadowTestInstance()
673 const tcu::Vec4 gMax = tcu::Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; in Texture2DArrayShadowTestInstance()
686 …().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in Texture2DArrayShadowTestInstance()
DvktTextureFilteringExplicitLodTests.cpp1242 const Vec4 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in generate() local
1246 const Vec4 gMin = Vec4(0.0f, 0.0f, 0.0f, 1.0f) * cScale + cBias; in generate()
1247 const Vec4 gMax = Vec4(1.0f, 1.0f, 1.0f, 0.0f) * cScale + cBias; in generate()
DvktTextureMipmapTests.cpp676 const tcu::Vec4& cScale = fmtInfo.lookupScale; in Texture3DMipmapTestInstance() local
691 tcu::clear(m_texture->getLevel(levelNdx, 0), tcu::RGBA(color).toVec()*cScale + cBias); in Texture3DMipmapTestInstance()
1474 const tcu::Vec4& cScale = fmtInfo.lookupScale; in Texture3DLodControlTestInstance() local
1489 tcu::clear(m_texture->getLevel(levelNdx, 0), tcu::RGBA(color).toVec()*cScale + cBias); in Texture3DLodControlTestInstance()
/external/deqp/modules/gles2/accuracy/
Des2aTextureFilteringTests.cpp148 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
153 tcu::Vec4 gMin = tcu::Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; in init()
154 tcu::Vec4 gMax = tcu::Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; in init()
169 …().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in init()
409 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
426 …Face(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale in init()
441 … (tcu::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in init()
/external/deqp/modules/gles3/accuracy/
Des3aTextureFilteringTests.cpp138 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
143 tcu::Vec4 gMin = tcu::Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; in init()
144 tcu::Vec4 gMax = tcu::Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; in init()
159 …().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in init()
395 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
412 …Face(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale in init()
427 … (tcu::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in init()
/external/deqp/modules/gles3/functional/
Des3fVertexTextureTests.cpp594 const Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
599 const Vec4 gMin = Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; in init()
600 const Vec4 gMax = Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; in init()
615 …().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in init()
903 const Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
920 …Face(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale in init()
935 … (tcu::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in init()
1240 const Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
1245 const Vec4 gMin = Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; in init()
1246 const Vec4 gMax = Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; in init()
[all …]
Des3fTextureFilteringTests.cpp178 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
183 tcu::Vec4 gMin = tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; in init()
184 tcu::Vec4 gMax = tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; in init()
199 …().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in init()
456 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
473 …Face(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale in init()
488 … (tcu::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in init()
738 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
764 …Vec4 gMin = tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f).swizzle(swz[0],swz[1],swz[2],swz[3])*cScale + cBias; in init()
765 …Vec4 gMax = tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f).swizzle(swz[0],swz[1],swz[2],swz[3])*cScale + cBias; in init()
[all …]
Des3fFboInvalidateTests.cpp468 tcu::Vec4 cScale = colorFmtInfo.valueMax-colorFmtInfo.valueMin; in render() local
508 …flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBia… in render()
519 …flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBia… in render()
542 …flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(0.0f, 0.0f, 1.0f, 1.0f)*cScale + cBia… in render()
835 tcu::Vec4 cScale = colorFmtInfo.valueMax-colorFmtInfo.valueMin; in render() local
871 glClearBufferfv (GL_COLOR, 0, (Vec4(0.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias).getPtr()); in render()
879 …flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBia… in render()
889 glClearBufferfv(GL_COLOR, 0, (Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias).getPtr()); in render()
898 …flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(0.0f, 0.0f, 1.0f, 1.0f)*cScale + cBia… in render()
1213 const tcu::Vec4 cScale = colorFmtInfo.valueMax-colorFmtInfo.valueMin; in render() local
[all …]
Des3fTextureShadowTests.cpp490 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
511 …Face(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale in init()
526 … (tcu::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in init()
781 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
792 tcu::Vec4 gMin = tcu::Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; in init()
793 tcu::Vec4 gMax = tcu::Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; in init()
808 …().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in init()
Des3fTextureSpecificationTests.cpp1091 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; in createTexture() local
1093 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture()
1094 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture()
1161 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; in createTexture() local
1163 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture()
1164 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture()
1399 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; in createTexture() local
1401 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture()
1402 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture()
1829 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; in createTexture() local
[all …]
Des3fShaderTextureFunctionTests.cpp580 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in initTexture() local
589 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); in initTexture()
590 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); in initTexture()
610 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in initTexture() local
612 Vec4 cCorner = cBias + cScale*0.5f; in initTexture()
627 Vec4 colorA = cBias + cScale*f.swizzle(swzA[0], swzA[1], swzA[2], swzA[3]); in initTexture()
628 Vec4 colorB = cBias + cScale*f.swizzle(swzB[0], swzB[1], swzB[2], swzB[3]); in initTexture()
669 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in initTexture() local
683 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); in initTexture()
684 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); in initTexture()
[all …]
Des3fTextureUnitTests.cpp880 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
912 …Grid(access, curCellSize, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in init()
Des3fTextureMipmapTests.cpp1142 const tcu::Vec4& cScale = fmtInfo.lookupScale; in init() local
1161 …tcu::clear(m_texture->getRefTexture().getLevel(levelNdx), tcu::RGBA(color).toVec()*cScale + cBias); in init()
2085 const tcu::Vec4& cScale = fmtInfo.lookupScale; in init() local
2101 …tcu::clear(m_texture->getRefTexture().getLevel(levelNdx), tcu::RGBA(color).toVec()*cScale + cBias); in init()
/external/deqp/modules/gles2/functional/
Des2fTextureFilteringTests.cpp178 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
183 tcu::Vec4 gMin = tcu::Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; in init()
184 tcu::Vec4 gMax = tcu::Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; in init()
199 …().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in init()
441 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
458 …Face(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale in init()
473 … (tcu::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in init()
Des2fVertexTextureTests.cpp494 const Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
499 const Vec4 gMin = Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; in init()
500 const Vec4 gMax = Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; in init()
515 …().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in init()
800 const Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
817 …Face(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale in init()
832 … (tcu::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in init()
Des2fShaderTextureFunctionTests.cpp334 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in initTexture() local
343 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); in initTexture()
344 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); in initTexture()
364 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in initTexture() local
380 Vec4 colorA = cBias + cScale*f.swizzle(swzA[0], swzA[1], swzA[2], swzA[3]); in initTexture()
381 Vec4 colorB = cBias + cScale*f.swizzle(swzB[0], swzB[1], swzB[2], swzB[3]); in initTexture()
Des2fTextureUnitTests.cpp686 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
717 …Grid(access, curCellSize, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in init()
/external/deqp/modules/gles31/functional/
Des31fTextureFilteringTests.cpp207 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
234 …Vec4 gMin = tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f).swizzle(swz[0],swz[1],swz[2],swz[3])*cScale + cBias; in init()
235 …Vec4 gMax = tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f).swizzle(swz[0],swz[1],swz[2],swz[3])*cScale + cBias; in init()
256 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
Des31fTextureSpecificationTests.cpp442 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; in createTexture() local
444 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture()
445 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture()
548 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; in createTexture() local
550 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture()
551 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureFunctionTests.cpp668 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in initTexture() local
679 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); in initTexture()
680 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); in initTexture()
699 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in initTexture() local
701 Vec4 cCorner = cBias + cScale*0.5f; in initTexture()
718 Vec4 colorA = cBias + cScale*f.swizzle(swzA[0], swzA[1], swzA[2], swzA[3]); in initTexture()
719 Vec4 colorB = cBias + cScale*f.swizzle(swzB[0], swzB[1], swzB[2], swzB[3]); in initTexture()
759 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in initTexture() local
775 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); in initTexture()
776 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); in initTexture()
[all …]