/external/deqp/modules/gles3/accuracy/ |
D | es3aTextureFilteringTests.cpp | 137 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/ |
D | es2aTextureFilteringTests.cpp | 146 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/ |
D | es3fTextureFilteringTests.cpp | 177 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 …]
|
D | es3fVertexTextureTests.cpp | 592 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 …]
|
D | es3fFboInvalidateTests.cpp | 468 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 …]
|
D | es3fTextureShadowTests.cpp | 488 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()
|
D | es3fTextureSpecificationTests.cpp | 1092 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 …]
|
D | es3fShaderTextureFunctionTests.cpp | 643 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 …]
|
D | es3fTextureMipmapTests.cpp | 1141 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/ |
D | es2fTextureFilteringTests.cpp | 177 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()
|
D | es2fVertexTextureTests.cpp | 491 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()
|
D | es2fShaderTextureFunctionTests.cpp | 339 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()
|
D | es2fTextureUnitTests.cpp | 685 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/ |
D | es31fTextureFilteringTests.cpp | 206 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()
|
D | es31fTextureSpecificationTests.cpp | 442 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()
|