Home
last modified time | relevance | path

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

/external/deqp/modules/gles3/accuracy/
Des3aTextureFilteringTests.cpp137 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
142 tcu::Vec4 gMin = tcu::Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; in init()
143 tcu::Vec4 gMax = tcu::Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; in init()
158 …().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cSca… in init()
394 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
411 …Face(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale in init()
426 … (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cSca… in init()
/external/deqp/modules/gles2/accuracy/
Des2aTextureFilteringTests.cpp146 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
151 tcu::Vec4 gMin = tcu::Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; in init()
152 tcu::Vec4 gMax = tcu::Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; in init()
167 …().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cSca… in init()
407 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
424 …Face(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale in init()
439 … (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cSca… in init()
/external/deqp/modules/gles3/functional/
Des3fTextureFilteringTests.cpp177 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
182 tcu::Vec4 gMin = tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; in init()
183 tcu::Vec4 gMax = tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; in init()
198 …().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cSca… in init()
455 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
472 …Face(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale in init()
487 … (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cSca… in init()
737 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
763 …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()
764 …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 …]
Des3fVertexTextureTests.cpp592 const Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
597 const Vec4 gMin = Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; in init()
598 const Vec4 gMax = Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; in init()
613 …().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cSca… in init()
901 const Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
918 …Face(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale in init()
933 … (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cSca… in init()
1238 const Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
1243 const Vec4 gMin = Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; in init()
1244 const Vec4 gMax = Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*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.cpp488 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
509 …Face(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale in init()
524 … (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cSca… in init()
779 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
790 tcu::Vec4 gMin = tcu::Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; in init()
791 tcu::Vec4 gMax = tcu::Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; in init()
806 …().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in init()
Des3fTextureSpecificationTests.cpp1092 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; in createTexture() local
1094 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture()
1095 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture()
1162 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; in createTexture() local
1164 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture()
1165 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture()
1400 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; in createTexture() local
1402 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture()
1403 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture()
1830 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; in createTexture() local
[all …]
Des3fShaderTextureFunctionTests.cpp643 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in initTexture() local
652 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); in initTexture()
653 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); in initTexture()
673 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in initTexture() local
675 Vec4 cCorner = cBias + cScale*0.5f; in initTexture()
690 Vec4 colorA = cBias + cScale*f.swizzle(swzA[0], swzA[1], swzA[2], swzA[3]); in initTexture()
691 Vec4 colorB = cBias + cScale*f.swizzle(swzB[0], swzB[1], swzB[2], swzB[3]); in initTexture()
732 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in initTexture() local
746 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); in initTexture()
747 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); in initTexture()
[all …]
Des3fTextureMipmapTests.cpp1141 const tcu::Vec4& cScale = fmtInfo.lookupScale; in init() local
1160 …tcu::clear(m_texture->getRefTexture().getLevel(levelNdx), tcu::RGBA(color).toVec()*cScale + cBias); in init()
2084 const tcu::Vec4& cScale = fmtInfo.lookupScale; in init() local
2100 …tcu::clear(m_texture->getRefTexture().getLevel(levelNdx), tcu::RGBA(color).toVec()*cScale + cBias); in init()
/external/deqp/modules/gles2/functional/
Des2fTextureFilteringTests.cpp177 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
182 tcu::Vec4 gMin = tcu::Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; in init()
183 tcu::Vec4 gMax = tcu::Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; in init()
198 …().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cSca… in init()
440 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
457 …Face(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale in init()
472 … (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cSca… in init()
Des2fVertexTextureTests.cpp491 const Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
496 const Vec4 gMin = Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; in init()
497 const Vec4 gMax = Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; in init()
512 …().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cSca… in init()
797 const Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
814 …Face(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale in init()
829 … (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cSca… in init()
Des2fShaderTextureFunctionTests.cpp339 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in initTexture() local
348 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); in initTexture()
349 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); in initTexture()
369 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in initTexture() local
385 Vec4 colorA = cBias + cScale*f.swizzle(swzA[0], swzA[1], swzA[2], swzA[3]); in initTexture()
386 Vec4 colorB = cBias + cScale*f.swizzle(swzB[0], swzB[1], swzB[2], swzB[3]); in initTexture()
Des2fTextureUnitTests.cpp685 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
716 …Grid(access, curCellSize, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cSca… in init()
/external/deqp/modules/gles31/functional/
Des31fTextureFilteringTests.cpp206 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local
233 …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()
234 …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()
255 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()