/external/deqp/modules/gles2/accuracy/ |
H A D | es2aTextureFilteringTests.cpp | 146 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; local 151 tcu::Vec4 gMin = tcu::Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; 152 tcu::Vec4 gMax = tcu::Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; 167 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 407 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; local 424 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale + cBias); 439 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale [all...] |
/external/deqp/modules/gles3/accuracy/ |
H A D | es3aTextureFilteringTests.cpp | 137 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; local 142 tcu::Vec4 gMin = tcu::Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; 143 tcu::Vec4 gMax = tcu::Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; 158 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 394 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; local 411 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale + cBias); 426 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale [all...] |
/external/deqp/modules/gles3/functional/ |
H A D | es3fTextureFilteringTests.cpp | 177 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; local 182 tcu::Vec4 gMin = tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; 183 tcu::Vec4 gMax = tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; 198 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 455 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; local 472 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale + cBias); 487 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale 737 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; local 1002 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; local [all...] |
H A D | es3fVertexTextureTests.cpp | 592 const Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; local 597 const Vec4 gMin = Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; 598 const Vec4 gMax = Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; 613 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 901 const Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; local 918 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale + cBias); 933 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale 1238 const Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; local 1578 const Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; local [all...] |
H A D | es3fTextureShadowTests.cpp | 488 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; local 509 tcu::fillWithComponentGradients(m_gradientTex->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale + cBias); 524 tcu::fillWithGrid(m_gridTex->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 779 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; local 790 tcu::Vec4 gMin = tcu::Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; 791 tcu::Vec4 gMax = tcu::Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; 806 tcu::fillWithGrid(m_gridTex->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale [all...] |
H A D | es3fFboInvalidateTests.cpp | 468 tcu::Vec4 cScale = colorFmtInfo.valueMax-colorFmtInfo.valueMin; local 508 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias); 519 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias); 542 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(0.0f, 0.0f, 1.0f, 1.0f)*cScale + cBias); 835 tcu::Vec4 cScale = colorFmtInfo.valueMax-colorFmtInfo.valueMin; local 871 glClearBufferfv (GL_COLOR, 0, (Vec4(0.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias).getPtr()); 879 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias); 889 glClearBufferfv(GL_COLOR, 0, (Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias).getPtr()); 898 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(0.0f, 0.0f, 1.0f, 1.0f)*cScale + cBias); 1213 const tcu::Vec4 cScale local [all...] |
H A D | es3fTextureSpecificationTests.cpp | 1080 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; local 1082 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; 1083 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; 1150 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; local 1152 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; 1153 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; 1388 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; local 1390 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; 1391 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; 1818 Vec4 cScale local 2318 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; local 2473 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; local 2555 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; local 2646 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; local 2745 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; local 2852 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; local 2963 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; local [all...] |
H A D | es3fShaderTextureFunctionTests.cpp | 643 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; local 652 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); 653 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); 673 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; local 675 Vec4 cCorner = cBias + cScale*0.5f; 690 Vec4 colorA = cBias + cScale*f.swizzle(swzA[0], swzA[1], swzA[2], swzA[3]); 691 Vec4 colorB = cBias + cScale*f.swizzle(swzB[0], swzB[1], swzB[2], swzB[3]); 732 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; local 746 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); 747 Vec4 colorB = cBias + cScale*Vec 767 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; local [all...] |
H A D | es3fTextureUnitTests.cpp | 879 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; local 911 tcu::fillWithGrid(access, curCellSize, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias);
|
H A D | es3fTextureMipmapTests.cpp | 1145 const tcu::Vec4& cScale = fmtInfo.lookupScale; local 1164 tcu::clear(m_texture->getRefTexture().getLevel(levelNdx), tcu::RGBA(color).toVec()*cScale + cBias); 2088 const tcu::Vec4& cScale = fmtInfo.lookupScale; local 2104 tcu::clear(m_texture->getRefTexture().getLevel(levelNdx), tcu::RGBA(color).toVec()*cScale + cBias);
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fTextureFilteringTests.cpp | 206 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; local 233 const tcu::Vec4 gMin = tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f).swizzle(swz[0],swz[1],swz[2],swz[3])*cScale + cBias; 234 const tcu::Vec4 gMax = tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f).swizzle(swz[0],swz[1],swz[2],swz[3])*cScale + cBias; 255 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias);
|
H A D | es31fTextureSpecificationTests.cpp | 442 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; local 444 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; 445 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; 548 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; local 550 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; 551 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias;
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fTextureFilteringTests.cpp | 177 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; local 182 tcu::Vec4 gMin = tcu::Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; 183 tcu::Vec4 gMax = tcu::Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; 198 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 440 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; local 457 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale + cBias); 472 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale [all...] |
H A D | es2fVertexTextureTests.cpp | 491 const Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; local 496 const Vec4 gMin = Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; 497 const Vec4 gMax = Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; 512 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 797 const Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; local 814 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale + cBias); 829 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale [all...] |
H A D | es2fShaderTextureFunctionTests.cpp | 339 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; local 348 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); 349 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); 369 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; local 385 Vec4 colorA = cBias + cScale*f.swizzle(swzA[0], swzA[1], swzA[2], swzA[3]); 386 Vec4 colorB = cBias + cScale*f.swizzle(swzB[0], swzB[1], swzB[2], swzB[3]);
|
H A D | es2fTextureUnitTests.cpp | 685 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; local 716 tcu::fillWithGrid(access, curCellSize, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias);
|