/external/deqp/modules/gles2/accuracy/ |
H A D | es2aTextureFilteringTests.cpp | 145 tcu::Vec4 cBias = 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); 406 tcu::Vec4 cBias = 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 + cBias); [all...] |
/external/deqp/modules/gles2/functional/ |
H A D | es2fTextureFilteringTests.cpp | 176 tcu::Vec4 cBias = 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); 439 tcu::Vec4 cBias = 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 + cBias); [all...] |
H A D | es2fShaderTextureFunctionTests.cpp | 335 Vec4 cBias = fmtInfo.valueMin; local 343 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); 344 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); 365 Vec4 cBias = fmtInfo.valueMin; local 380 Vec4 colorA = cBias + cScale*f.swizzle(swzA[0], swzA[1], swzA[2], swzA[3]); 381 Vec4 colorB = cBias + cScale*f.swizzle(swzB[0], swzB[1], swzB[2], swzB[3]);
|
H A D | es2fTextureUnitTests.cpp | 684 Vec4 cBias = fmtInfo.valueMin; local 716 tcu::fillWithGrid(access, curCellSize, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias);
|
H A D | es2fVertexTextureTests.cpp | 490 const Vec4 cBias = 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); 796 const Vec4 cBias = 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 + cBias); [all...] |
/external/deqp/modules/gles3/accuracy/ |
H A D | es3aTextureFilteringTests.cpp | 136 tcu::Vec4 cBias = 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); 393 tcu::Vec4 cBias = 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 + cBias); [all...] |
/external/deqp/modules/gles31/functional/ |
H A D | es31fTextureFilteringTests.cpp | 207 const tcu::Vec4 cBias = 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); local
|
H A D | es31fTextureSpecificationTests.cpp | 443 Vec4 cBias = 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; 549 Vec4 cBias = 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/gles3/functional/ |
H A D | es3fFboInvalidateTests.cpp | 467 const tcu::Vec4& cBias = colorFmtInfo.valueMin; local 508 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias); local 519 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias); local 542 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(0.0f, 0.0f, 1.0f, 1.0f)*cScale + cBias); local 834 const tcu::Vec4& cBias = 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); local 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); local 1212 const tcu::Vec4& cBias local 1252 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias); local 1285 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias); local 1308 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(0.0f, 0.0f, 1.0f, 1.0f)*cScale + cBias); local [all...] |
H A D | es3fTextureFilteringTests.cpp | 176 const tcu::Vec4 cBias = 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); 454 tcu::Vec4 cBias = 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 + cBias); 738 const tcu::Vec4 cBias = fmtInfo.valueMin; local 785 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); local 1003 const tcu::Vec4 cBias = fmtInfo.valueMin; local [all...] |
H A D | es3fTextureShadowTests.cpp | 487 tcu::Vec4 cBias = 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); 780 tcu::Vec4 cBias = 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 + cBias); [all...] |
H A D | es3fTextureMipmapTests.cpp | 1142 const tcu::Vec4& cBias = fmtInfo.lookupBias; local 1160 tcu::clear(m_texture->getRefTexture().getLevel(levelNdx), tcu::RGBA(color).toVec()*cScale + cBias); 2085 const tcu::Vec4& cBias = fmtInfo.lookupBias; local 2100 tcu::clear(m_texture->getRefTexture().getLevel(levelNdx), tcu::RGBA(color).toVec()*cScale + cBias);
|
H A D | es3fTextureSpecificationTests.cpp | 1093 Vec4 cBias = m_texFormatInfo.valueMin; local 1094 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; 1095 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; 1163 Vec4 cBias = m_texFormatInfo.valueMin; local 1164 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; 1165 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; 1401 Vec4 cBias = m_texFormatInfo.valueMin; local 1402 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; 1403 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; 1831 Vec4 cBias local 2331 Vec4 cBias = m_texFormatInfo.valueMin; local 2486 Vec4 cBias = m_texFormatInfo.valueMin; local 2568 Vec4 cBias = m_texFormatInfo.valueMin; local 2659 Vec4 cBias = m_texFormatInfo.valueMin; local 2758 Vec4 cBias = m_texFormatInfo.valueMin; local 2865 Vec4 cBias = m_texFormatInfo.valueMin; local 2976 Vec4 cBias = m_texFormatInfo.valueMin; local [all...] |
H A D | es3fTextureUnitTests.cpp | 878 Vec4 cBias = fmtInfo.valueMin; local 911 tcu::fillWithGrid(access, curCellSize, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias);
|
H A D | es3fVertexTextureTests.cpp | 591 const Vec4 cBias = 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); 900 const Vec4 cBias = 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 + cBias); 1237 const Vec4 cBias = fmtInfo.valueMin; local 1577 const Vec4 cBias = fmtInfo.valueMin; local [all...] |
H A D | es3fShaderTextureFunctionTests.cpp | 581 Vec4 cBias = fmtInfo.valueMin; local 589 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); 590 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); 611 Vec4 cBias = fmtInfo.valueMin; local 612 Vec4 cCorner = cBias + cScale*0.5f; 627 Vec4 colorA = cBias + cScale*f.swizzle(swzA[0], swzA[1], swzA[2], swzA[3]); 628 Vec4 colorB = cBias + cScale*f.swizzle(swzB[0], swzB[1], swzB[2], swzB[3]); 670 Vec4 cBias = fmtInfo.valueMin; local 683 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); 684 Vec4 colorB = cBias 705 Vec4 cBias = fmtInfo.valueMin; local [all...] |