/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineClearUtil.cpp | 43 return (defaultClearColorUnorm() - formatInfo.lookupBias) / formatInfo.lookupScale; in defaultClearColor() 50 …const tcu::Vec4 color = (defaultClearColorUnorm() - formatInfo.lookupBias) / formatInfo.looku… in defaultClearColorInt() 61 …const tcu::Vec4 color = (defaultClearColorUnorm() - formatInfo.lookupBias) / formatInfo.looku… in defaultClearColorUint()
|
D | vktPipelineImageSamplingInstance.cpp | 965 const tcu::Vec4& lookupBias, in validateResultImage() argument 978 const tcu::Vec4 resultColor = (resultPixel - lookupBias) / lookupScale; in validateResultImage() 1195 const tcu::Vec4& lookupBias, in validateResultImage() argument 1200 …(texture, sampler, texCoords, lodBounds, lookupPrecision, lookupScale, lookupBias, result, errorMa… in validateResultImage() 1207 …pPrecision, swizzleScaleBias(lookupScale, swz, 1.0f), swizzleScaleBias(lookupBias, swz, 0.0f), res… in validateResultImage() 1386 const tcu::Vec4& lookupBias, in validateResultImage() argument 1398 …omponentMapping, coordAccess, lodBounds, lookupPrecision, lookupScale, lookupBias, resultAccess, e… in validateResultImage() 1405 …omponentMapping, coordAccess, lodBounds, lookupPrecision, lookupScale, lookupBias, resultAccess, e… in validateResultImage() 1412 …omponentMapping, coordAccess, lodBounds, lookupPrecision, lookupScale, lookupBias, resultAccess, e… in validateResultImage() 1419 …omponentMapping, coordAccess, lodBounds, lookupPrecision, lookupScale, lookupBias, resultAccess, e… in validateResultImage() [all …]
|
D | vktPipelineImageTests.cpp | 192 tcu::Vec4 lookupBias; in initPrograms() local 194 getLookupScaleBias(m_imageFormat, lookupScale, lookupBias); in initPrograms() 251 …CoordSwizzle << std::scientific << ") * vec4" << lookupScale << ") + vec4" << lookupBias << "; \n"; in initPrograms() 254 …CoordSwizzle << std::scientific << ") * vec4" << lookupScale << ") + vec4" << lookupBias << "; \n"; in initPrograms()
|
D | vktPipelineImageViewTests.cpp | 179 tcu::Vec4 lookupBias; in initPrograms() local 181 getLookupScaleBias(m_imageFormat, lookupScale, lookupBias); in initPrograms() 184 tcu::Vec4 swizzledBias = swizzle(lookupBias, m_componentMapping); in initPrograms()
|
D | vktPipelineImageUtil.cpp | 171 void getLookupScaleBias (vk::VkFormat format, tcu::Vec4& lookupScale, tcu::Vec4& lookupBias) in getLookupScaleBias() argument 179 lookupBias = fmtInfo.lookupBias; in getLookupScaleBias() 187 lookupBias = tcu::Vec4(0.5f, 0.0f, 0.0f, 0.0f); in getLookupScaleBias() 192 lookupBias = tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f); in getLookupScaleBias() 201 lookupBias = tcu::Vec4(0.0f); in getLookupScaleBias()
|
D | vktPipelineImageUtil.hpp | 73 tcu::Vec4& lookupBias);
|
D | vktPipelineSamplerTests.cpp | 371 tcu::Vec4 lookupBias; in initPrograms() local 373 getLookupScaleBias(m_imageFormat, lookupScale, lookupBias); in initPrograms() 376 tcu::Vec4 swizzledBias = swizzle(lookupBias, getComponentMapping(), 0.0f); in initPrograms() 1487 const tcu::Vec4 finalColor = (texColor - formatInfo.lookupBias) / formatInfo.lookupScale; in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureSwizzleTests.cpp | 137 const float lookupBias = tcu::getTextureFormatInfo(textureFormat).lookupBias[0]; in iterate() local 147 sampleParams.colorBias = tcu::Vec4(lookupBias); in iterate() 155 log << TestLog::Message << "Lookup bias = " << lookupBias << TestLog::EndMessage; in iterate() 226 const deUint8 one = deUint8(255.0f * (lookupScale + lookupBias)); in iterate() 227 const deUint8 zero = deUint8(255.0f * lookupBias); in iterate()
|
D | vktTextureCompressedFormatTests.cpp | 227 sampleParams.colorBias = formatInfo.lookupBias; in iterate() 347 sampleParams.colorBias = formatInfo.lookupBias; in iterate()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fTextureBorderClampTests.cpp | 514 tcu::Vec4 lookupBias; member 1267 refParams.colorBias = config.lookupBias; in genSamplerParams() 1451 iteration.lookupBias = tcu::Vec4(texFormatInfo.lookupBias.x()); in init() 1456 iteration.lookupBias = texFormatInfo.lookupBias; in init() 1528 iteration.lookupBias = tcu::Vec4(0.25f); in init() 1538 iteration.lookupBias = tcu::Vec4(0.25f); in init() 1569 iteration.lookupBias = (isSigned) ? (tcu::Vec4(0.5f)) : (tcu::Vec4(0.25f)); in init() 1583 iteration.lookupBias = tcu::Vec4(0.5f); in init() 1596 iteration.lookupBias = tcu::Vec4(0.25f); in init() 1610 iteration.lookupBias = tcu::Vec4(0.25f); in init() [all …]
|
D | es31fTextureFormatTests.cpp | 221 renderParams.colorBias = spec.lookupBias; in testLayerFace() 369 renderParams.colorBias = spec.lookupBias; in iterate() 396 …rTarget().getPixelFormat()), effectiveRefTexture, &texCoord[0], spec.lookupScale, spec.lookupBias); in iterate()
|
D | es31fFboColorbufferTests.cpp | 190 readPixels(dst, 0, 0, getWidth(), getHeight(), texFmt, fmtInfo.lookupScale, fmtInfo.lookupBias); in render() 236 arrayTexShader.setTexScaleBias(fmtInfo.lookupScale, fmtInfo.lookupBias); in render()
|
D | es31fTextureSpecificationTests.cpp | 252 shader.setTexScaleBias(m_texFormatInfo.lookupScale, m_texFormatInfo.lookupBias); in verifyTexture() 604 m_texFormatInfo.lookupBias = Vec4(0.25f, 0.0f, 0.0f, 1.0f); in TexImageCubeArrayDepthCase() 649 m_texFormatInfo.lookupBias = Vec4(0.25f, 0.0f, 0.0f, 1.0f); in TexSubImageCubeArrayDepthCase() 718 m_texFormatInfo.lookupBias = Vec4(0.25f, 0.0f, 0.0f, 1.0f); in TexImageCubeArrayDepthBufferCase()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fFboColorbufferTests.cpp | 195 readPixels(dst, 0, 0, m_width, m_height, fboFormat, fmtInfo.lookupScale, fmtInfo.lookupBias); in render() 239 multiTexShader.setTexScaleBias(0, fmtInfo0.lookupScale * 0.5f, fmtInfo0.lookupBias * 0.5f); in render() 240 multiTexShader.setTexScaleBias(1, fmtInfo1.lookupScale * 0.5f, fmtInfo1.lookupBias * 0.5f); in render() 374 cubeTexShader.setTexScaleBias(fmtInfo.lookupScale, fmtInfo.lookupBias); in render() 503 arrayTexShader.setTexScaleBias(fmtInfo.lookupScale, fmtInfo.lookupBias); in render() 629 tdTexShader.setTexScaleBias(fmtInfo.lookupScale, fmtInfo.lookupBias); in render() 884 …eadPixels(dst, 0, 0, fboSizes[1], fboSizes[1], fboFormat, fmtInfo.lookupScale, fmtInfo.lookupBias); in render() 950 …eadPixels(dst, 0, 0, fboSizes[1], fboSizes[1], fboFormat, fmtInfo.lookupScale, fmtInfo.lookupBias); in render() 1012 …eadPixels(dst, 0, 0, fboSizes[1], fboSizes[1], fboFormat, fmtInfo.lookupScale, fmtInfo.lookupBias); in render()
|
D | es3fFramebufferBlitTests.cpp | 362 …tcu::select(dstFmtRangeInfo.lookupBias, srcFmtRangeInfo.lookupBias, tcu::logicalAnd(copyMask, src… in render() 366 …tcu::select(dstFmtRangeInfo.lookupBias, srcFmtRangeInfo.lookupBias, tcu::logicalOr(tcu::logicalNo… in render() 424 …s(dst, 0, 0, m_size.x(), m_size.y(), dstFormat, dstRangeInfo.lookupScale, dstRangeInfo.lookupBias); in render()
|
D | es3fTextureFormatTests.cpp | 198 renderParams.colorBias = spec.lookupBias; in iterate() 389 renderParams.colorBias = spec.lookupBias; in testFace() 555 renderParams.colorBias = spec.lookupBias; in testLayer() 713 renderParams.colorBias = spec.lookupBias; in testSlice() 859 renderParams.colorBias = spec.lookupBias; in iterate() 1011 renderParams.colorBias = spec.lookupBias; in testFace()
|
D | es3fFboRenderTest.cpp | 550 texFromFboShader.setTexScaleBias(0, fboRangeInfo.lookupScale, fboRangeInfo.lookupBias); in render() 603 …context, dst, 0, 0, width, height, colorFormat, fboRangeInfo.lookupScale, fboRangeInfo.lookupBias); in render() 1137 texFromFboShader.setTexScaleBias(0, fboRangeInfo.lookupScale, fboRangeInfo.lookupBias); in render() 1244 …t, dst, 0, 0, newWidth, newHeight, colorFormat, fboRangeInfo.lookupScale, fboRangeInfo.lookupBias); in render() 1297 texFromFboShader.setTexScaleBias(0, fboRangeInfo.lookupScale, fboRangeInfo.lookupBias); in render() 1444 …els(ctx, dst, 0, 0, width, height, colorFormat, fboRangeInfo.lookupScale, fboRangeInfo.lookupBias); in render()
|
D | es3fFboInvalidateTests.cpp | 545 …s(dst, 0, 0, getWidth(), getHeight(), colorFmt, colorFmtInfo.lookupScale, colorFmtInfo.lookupBias); in render() 643 texShader.setTexScaleBias(0, colorFmtInfo.lookupScale, colorFmtInfo.lookupBias); in render() 901 …s(dst, 0, 0, getWidth(), getHeight(), colorFmt, colorFmtInfo.lookupScale, colorFmtInfo.lookupBias); in render() 1015 texShader.setTexScaleBias(0, colorFmtInfo.lookupScale, colorFmtInfo.lookupBias); in render() 1311 …s(dst, 0, 0, getWidth(), getHeight(), colorFmt, colorFmtInfo.lookupScale, colorFmtInfo.lookupBias); in render()
|
D | es3fTextureSwizzleTests.cpp | 160 renderParams.colorBias = spec.lookupBias; in iterate()
|
D | es3fFboMultisampleTests.cpp | 225 …ls(dst, 0, 0, m_size.x(), m_size.y(), colorFmt, colorFmtInfo.lookupScale, colorFmtInfo.lookupBias); in render()
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuTextureUtil.hpp | 93 Vec4 lookupBias; member 99 , lookupBias (lookupBias_) in TextureFormatInfo()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fTextureFormatTests.cpp | 158 renderParams.colorBias = spec.lookupBias; in iterate() 330 renderParams.colorBias = spec.lookupBias; in testFace()
|
/third_party/vk-gl-cts/modules/gles2/accuracy/ |
D | es2aTextureFilteringTests.cpp | 234 refParams.colorBias = fmtInfo.lookupBias; in iterate() 547 sampleParams.colorBias = fmtInfo.lookupBias; in iterate()
|
/third_party/vk-gl-cts/modules/gles3/accuracy/ |
D | es3aTextureFilteringTests.cpp | 224 refParams.colorBias = fmtInfo.lookupBias; in iterate() 556 sampleParams.colorBias = fmtInfo.lookupBias; in iterate()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcNearestEdgeTests.cpp | 286 tcu::Vec4 finalColor = (color - m_texFormatInfo.lookupBias) / m_texFormatInfo.lookupScale; in fillTexture()
|