/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureFilteringTests.cpp | 207 tcu::Vec4 cBias, cScale; in Texture2DFilteringTestInstance() local 213 cScale = fmtInfoStencil.valueMax - fmtInfoStencil.valueMin; in Texture2DFilteringTestInstance() 218 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in Texture2DFilteringTestInstance() 232 const tcu::Vec4 gMin = tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; in Texture2DFilteringTestInstance() 233 const tcu::Vec4 gMax = tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; in Texture2DFilteringTestInstance() 250 …ampler::MODE_STENCIL), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in Texture2DFilteringTestInstance() 252 …getLevel(levelNdx, 0), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in Texture2DFilteringTestInstance() 423 tcu::Vec4 cBias, cScale; in TextureCubeFilteringTestInstance() local 429 cScale = fmtInfoStencil.valueMax - fmtInfoStencil.valueMin; in TextureCubeFilteringTestInstance() 434 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in TextureCubeFilteringTestInstance() [all …]
|
D | vktTextureShadowTests.cpp | 480 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in TextureCubeShadowTestInstance() local 505 …xtures[0]->getLevel(levelNdx, face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale … in TextureCubeShadowTestInstance() 519 …Level(levelNdx, face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in TextureCubeShadowTestInstance() 705 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in Texture2DArrayShadowTestInstance() local 718 const tcu::Vec4 gMin = tcu::Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; in Texture2DArrayShadowTestInstance() 719 const tcu::Vec4 gMax = tcu::Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; in Texture2DArrayShadowTestInstance() 732 …().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in Texture2DArrayShadowTestInstance() 1134 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in Texture1DArrayShadowTestInstance() local 1147 const tcu::Vec4 gMin = tcu::Vec4(-0.5f, -0.5f, -0.5f, 2.0f)*cScale + cBias; in Texture1DArrayShadowTestInstance() 1148 const tcu::Vec4 gMax = tcu::Vec4( 1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; in Texture1DArrayShadowTestInstance() [all …]
|
D | vktTextureFilteringExplicitLodTests.cpp | 1118 const Vec4 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in generate() local 1122 const Vec4 gMin = Vec4(0.0f, 0.0f, 0.0f, 1.0f) * cScale + cBias; in generate() 1123 const Vec4 gMax = Vec4(1.0f, 1.0f, 1.0f, 0.0f) * cScale + cBias; in generate()
|
D | vktTextureMipmapTests.cpp | 676 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()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_shadow_lod/ |
D | esextcTextureShadowLodFunctionsTest.cpp | 486 Vec4 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in initTexture() local 495 Vec4 colorA = cBias + cScale * Vec4(fA, fB, fA, fB); in initTexture() 496 Vec4 colorB = cBias + cScale * Vec4(fB, fA, fB, fA); in initTexture() 521 Vec4 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in initTexture() local 536 Vec4 colorA = cBias + cScale * Vec4(fA, fB, fA, fB); in initTexture() 537 Vec4 colorB = cBias + cScale * Vec4(fB, fA, fB, fA); in initTexture() 561 Vec4 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in initTexture() local 563 Vec4 cCorner = cBias + cScale * 0.5f; in initTexture() 578 Vec4 colorA = cBias + cScale * f.swizzle(swzA[0], swzA[1], swzA[2], swzA[3]); in initTexture() 579 Vec4 colorB = cBias + cScale * f.swizzle(swzB[0], swzB[1], swzB[2], swzB[3]); in initTexture() [all …]
|
/third_party/vk-gl-cts/modules/gles3/accuracy/ |
D | es3aTextureFilteringTests.cpp | 138 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()
|
/third_party/vk-gl-cts/modules/gles2/accuracy/ |
D | es2aTextureFilteringTests.cpp | 148 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()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fVertexTextureTests.cpp | 594 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 …]
|
D | es3fTextureFilteringTests.cpp | 199 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local 204 tcu::Vec4 gMin = tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; in init() 205 tcu::Vec4 gMax = tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias; in init() 220 …().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in init() 479 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local 496 …Face(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale … in init() 511 … (tcu::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in init() 763 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local 789 …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() 790 …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 | 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 | 490 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()
|
D | es3fTextureSpecificationTests.cpp | 1091 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 …]
|
D | es3fShaderTextureFunctionTests.cpp | 580 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 …]
|
D | es3fTextureUnitTests.cpp | 882 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local 914 …Grid(access, curCellSize, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in init()
|
D | es3fTextureMipmapTests.cpp | 1142 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()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fTextureFilteringTests.cpp | 178 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()
|
D | es2fVertexTextureTests.cpp | 494 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() 805 const Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local 822 …Face(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale … in init() 837 … (tcu::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in init()
|
D | es2fShaderTextureFunctionTests.cpp | 334 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()
|
D | es2fTextureUnitTests.cpp | 688 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local 719 …Grid(access, curCellSize, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cSca… in init()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fTextureFilteringTests.cpp | 218 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in init() local 248 …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() 249 …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() 270 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
|
D | es31fTextureSpecificationTests.cpp | 446 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; in createTexture() local 448 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture() 449 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture() 552 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; in createTexture() local 554 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture() 555 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture()
|
D | es31fShaderFramebufferFetchTests.cpp | 253 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in scaleColorValue() local 256 return tcu::RGBA(color).toVec() * cScale + cBias; in scaleColorValue()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderTextureFunctionTests.cpp | 883 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in initTexture() local 894 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); in initTexture() 895 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); in initTexture() 914 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in initTexture() local 916 Vec4 cCorner = cBias + cScale*0.5f; in initTexture() 933 Vec4 colorA = cBias + cScale*f.swizzle(swzA[0], swzA[1], swzA[2], swzA[3]); in initTexture() 934 Vec4 colorB = cBias + cScale*f.swizzle(swzB[0], swzB[1], swzB[2], swzB[3]); in initTexture() 974 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in initTexture() local 990 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); in initTexture() 991 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); in initTexture() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/gles2/ |
D | es2cTexture3DTests.cpp | 539 const tcu::Vec4 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in init() local 550 tcu::Vec4 gMin = tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f) * cScale + cBias; in init() 551 tcu::Vec4 gMax = tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f) * cScale + cBias; in init() 566 …hGrid(m_gridTex->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec() * cScale + cBias, in init() 567 tcu::RGBA(colorB).toVec() * cScale + cBias); in init()
|