/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineClearUtil.cpp | 43 return (defaultClearColorUnorm() - formatInfo.lookupBias) / formatInfo.lookupScale; in defaultClearColor() 50 …tcu::Vec4 color = (defaultClearColorUnorm() - formatInfo.lookupBias) / formatInfo.lookupScale; in defaultClearColorInt() 61 …tcu::Vec4 color = (defaultClearColorUnorm() - formatInfo.lookupBias) / formatInfo.lookupScale; in defaultClearColorUint()
|
D | vktPipelineImageSamplingInstance.cpp | 987 const tcu::Vec4& lookupScale, in validateResultImage() argument 1001 const tcu::Vec4 resultColor = (resultPixel - lookupBias) / lookupScale; in validateResultImage() 1217 const tcu::Vec4& lookupScale, in validateResultImage() argument 1223 …return validateResultImage(texture, sampler, texCoords, lodBounds, lookupPrecision, lookupScale, l… in validateResultImage() 1230 …dTex, sampler, texCoords, lodBounds, lookupPrecision, swizzleScaleBias(lookupScale, swz, 1.0f), sw… in validateResultImage() 1408 const tcu::Vec4& lookupScale, in validateResultImage() argument 1421 …w, sampler, componentMapping, coordAccess, lodBounds, lookupPrecision, lookupScale, lookupBias, re… in validateResultImage() 1428 …w, sampler, componentMapping, coordAccess, lodBounds, lookupPrecision, lookupScale, lookupBias, re… in validateResultImage() 1435 …w, sampler, componentMapping, coordAccess, lodBounds, lookupPrecision, lookupScale, lookupBias, re… in validateResultImage() 1442 …w, sampler, componentMapping, coordAccess, lodBounds, lookupPrecision, lookupScale, lookupBias, re… in validateResultImage() [all …]
|
D | vktPipelineImageTests.cpp | 223 tcu::Vec4 lookupScale; in initPrograms() local 226 getLookupScaleBias(m_imageFormat, lookupScale, lookupBias); in initPrograms() 283 … vtxTexCoords." << texCoordSwizzle << std::scientific << ") * vec4" << lookupScale << ") + vec4" <… in initPrograms() 286 … vtxTexCoords." << texCoordSwizzle << std::scientific << ") * vec4" << lookupScale << ") + vec4" <… in initPrograms()
|
D | vktPipelineImageViewTests.cpp | 183 tcu::Vec4 lookupScale; in initPrograms() local 186 getLookupScaleBias(m_imageFormat, lookupScale, lookupBias); in initPrograms() 188 tcu::Vec4 swizzledScale = swizzle(lookupScale, m_componentMapping); in initPrograms()
|
D | vktPipelineImageUtil.cpp | 176 void getLookupScaleBias (vk::VkFormat format, tcu::Vec4& lookupScale, tcu::Vec4& lookupBias, bool u… in getLookupScaleBias() argument 185 lookupScale = tcu::Vec4(1.0f / 255.0f, 1.0f, 1.0f, 1.0f); in getLookupScaleBias() 193 lookupScale = fmtInfo.lookupScale; in getLookupScaleBias() 202 lookupScale = tcu::Vec4(0.5f, 1.0f, 1.0f, 1.0f); in getLookupScaleBias() 207 lookupScale = tcu::Vec4(0.5f, 0.5f, 1.0f, 1.0f); in getLookupScaleBias() 216 lookupScale = tcu::Vec4(1.0f); in getLookupScaleBias()
|
D | vktPipelineImageUtil.hpp | 72 tcu::Vec4& lookupScale,
|
D | vktPipelineSamplerTests.cpp | 403 tcu::Vec4 lookupScale; in initPrograms() local 406 getLookupScaleBias(m_imageFormat, lookupScale, lookupBias, m_sampleStencil); in initPrograms() 408 tcu::Vec4 swizzledScale = swizzle(lookupScale, getComponentMapping(), 1.0f); in initPrograms() 1558 const tcu::Vec4 finalColor = (texColor - formatInfo.lookupBias) / formatInfo.lookupScale; in iterate()
|
/external/deqp/modules/gles31/functional/ |
D | es31fTextureBorderClampTests.cpp | 513 tcu::Vec4 lookupScale; member 1266 refParams.colorScale = config.lookupScale; in genSamplerParams() 1450 iteration.lookupScale = tcu::Vec4(texFormatInfo.lookupScale.x()); in init() 1455 iteration.lookupScale = texFormatInfo.lookupScale; in init() 1527 …iteration.lookupScale = tcu::Vec4(0.5f); // scale & bias to [0.25, 0.5] range to make out-of-range… in init() 1537 iteration.lookupScale = tcu::Vec4(0.5f); in init() 1568 iteration.lookupScale = tcu::Vec4(0.5f) / divSafeRange.cast<float>(); in init() 1582 iteration.lookupScale = tcu::Vec4(0.5f) / divSafeRange.cast<float>(); in init() 1595 iteration.lookupScale = tcu::Vec4(0.5f) / divSafeRange.cast<float>(); in init() 1609 iteration.lookupScale = tcu::Vec4(0.5f) / divSafeRange.cast<float>(); in init() [all …]
|
D | es31fTextureFormatTests.cpp | 220 renderParams.colorScale = spec.lookupScale; in testLayerFace() 368 renderParams.colorScale = spec.lookupScale; in iterate() 396 …derTarget().getPixelFormat()), effectiveRefTexture, &texCoord[0], spec.lookupScale, spec.lookupBia… 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() 605 m_texFormatInfo.lookupScale = Vec4(0.5f, 1.0f, 1.0f, 0.0f); in TexImageCubeArrayDepthCase() 650 m_texFormatInfo.lookupScale = Vec4(0.5f, 1.0f, 1.0f, 0.0f); in TexSubImageCubeArrayDepthCase() 719 m_texFormatInfo.lookupScale = Vec4(0.5f, 1.0f, 1.0f, 0.0f); in TexImageCubeArrayDepthBufferCase()
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureSwizzleTests.cpp | 136 const float lookupScale = tcu::getTextureFormatInfo(textureFormat).lookupScale[0]; in iterate() local 148 sampleParams.colorScale = tcu::Vec4(lookupScale); in iterate() 154 log << TestLog::Message << "Lookup scale = " << lookupScale << TestLog::EndMessage; in iterate() 226 const deUint8 one = deUint8(255.0f * (lookupScale + lookupBias)); in iterate()
|
D | vktTextureCompressedFormatTests.cpp | 407 sampleParams.colorScale = formatInfo.lookupScale; in iterate() 538 sampleParams.colorScale = formatInfo.lookupScale; in iterate()
|
/external/deqp/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 …readPixels(dst, 0, 0, fboSizes[1], fboSizes[1], fboFormat, fmtInfo.lookupScale, fmtInfo.lookupBias… in render() 950 …readPixels(dst, 0, 0, fboSizes[1], fboSizes[1], fboFormat, fmtInfo.lookupScale, fmtInfo.lookupBias… in render() 1012 …readPixels(dst, 0, 0, fboSizes[1], fboSizes[1], fboFormat, fmtInfo.lookupScale, fmtInfo.lookupBias… in render()
|
D | es3fFramebufferBlitTests.cpp | 362 …tcu::select(dstFmtRangeInfo.lookupScale, srcFmtRangeInfo.lookupScale, tcu::logicalAnd(copyMask, sr… in render() 366 …tcu::select(dstFmtRangeInfo.lookupScale, srcFmtRangeInfo.lookupScale, tcu::logicalOr(tcu::logicalN… in render() 425 …readPixels(dst, 0, 0, m_size.x(), m_size.y(), dstFormat, dstRangeInfo.lookupScale, dstRangeInfo.lo… in render()
|
D | es3fFboRenderTest.cpp | 550 texFromFboShader.setTexScaleBias(0, fboRangeInfo.lookupScale, fboRangeInfo.lookupBias); in render() 603 …readPixels(context, dst, 0, 0, width, height, colorFormat, fboRangeInfo.lookupScale, fboRangeInfo.… in render() 1137 texFromFboShader.setTexScaleBias(0, fboRangeInfo.lookupScale, fboRangeInfo.lookupBias); in render() 1244 …readPixels(context, dst, 0, 0, newWidth, newHeight, colorFormat, fboRangeInfo.lookupScale, fboRang… in render() 1297 texFromFboShader.setTexScaleBias(0, fboRangeInfo.lookupScale, fboRangeInfo.lookupBias); in render() 1444 …readPixels(ctx, dst, 0, 0, width, height, colorFormat, fboRangeInfo.lookupScale, fboRangeInfo.look… in render()
|
D | es3fTextureFormatTests.cpp | 197 renderParams.colorScale = spec.lookupScale; in iterate() 388 renderParams.colorScale = spec.lookupScale; in testFace() 554 renderParams.colorScale = spec.lookupScale; in testLayer() 712 renderParams.colorScale = spec.lookupScale; in testSlice() 858 renderParams.colorScale = spec.lookupScale; in iterate() 1010 renderParams.colorScale = spec.lookupScale; in testFace()
|
D | es3fFboInvalidateTests.cpp | 545 …readPixels(dst, 0, 0, getWidth(), getHeight(), colorFmt, colorFmtInfo.lookupScale, colorFmtInfo.lo… in render() 643 texShader.setTexScaleBias(0, colorFmtInfo.lookupScale, colorFmtInfo.lookupBias); in render() 901 …readPixels(dst, 0, 0, getWidth(), getHeight(), colorFmt, colorFmtInfo.lookupScale, colorFmtInfo.lo… in render() 1015 texShader.setTexScaleBias(0, colorFmtInfo.lookupScale, colorFmtInfo.lookupBias); in render() 1311 …readPixels(dst, 0, 0, getWidth(), getHeight(), colorFmt, colorFmtInfo.lookupScale, colorFmtInfo.lo… in render()
|
D | es3fTextureSwizzleTests.cpp | 159 renderParams.colorScale = spec.lookupScale; in iterate()
|
D | es3fTextureSpecificationTests.cpp | 285 shader.setTexScaleBias(0, m_texFormatInfo.lookupScale, m_texFormatInfo.lookupBias); in verifyTexture() 368 shader.setTexScaleBias(m_texFormatInfo.lookupScale, m_texFormatInfo.lookupBias); in verifyTexture() 469 shader.setTexScaleBias(m_texFormatInfo.lookupScale, m_texFormatInfo.lookupBias); in verifyTexture() 569 shader.setTexScaleBias(m_texFormatInfo.lookupScale, m_texFormatInfo.lookupBias); in verifyTexture() 3144 m_texFormatInfo.lookupScale = Vec4(0.5f, 1.0f, 1.0f, 0.0f); in TexImage2DDepthCase() 3191 m_texFormatInfo.lookupScale = Vec4(0.5f, 1.0f, 1.0f, 0.0f); in TexImage2DArrayDepthCase() 3237 m_texFormatInfo.lookupScale = Vec4(0.5f, 1.0f, 1.0f, 0.0f); in TexSubImage2DDepthCase() 3307 m_texFormatInfo.lookupScale = Vec4(0.5f, 1.0f, 1.0f, 0.0f); in TexSubImage2DArrayDepthCase() 3378 m_texFormatInfo.lookupScale = Vec4(0.5f, 1.0f, 1.0f, 0.0f); in TexImage2DDepthBufferCase() 3439 m_texFormatInfo.lookupScale = Vec4(0.5f, 1.0f, 1.0f, 0.0f); in TexImage2DArrayDepthBufferCase()
|
/external/deqp/framework/common/ |
D | tcuTextureUtil.hpp | 92 Vec4 lookupScale; member 98 , lookupScale (lookupScale_) in TextureFormatInfo()
|
/external/deqp/modules/gles2/functional/ |
D | es2fTextureFormatTests.cpp | 157 renderParams.colorScale = spec.lookupScale; in iterate() 329 renderParams.colorScale = spec.lookupScale; in testFace()
|
/external/deqp/modules/gles2/accuracy/ |
D | es2aTextureFilteringTests.cpp | 235 refParams.colorScale = fmtInfo.lookupScale; in iterate() 548 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
|
/external/deqp/modules/gles3/accuracy/ |
D | es3aTextureFilteringTests.cpp | 225 refParams.colorScale = fmtInfo.lookupScale; in iterate() 557 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcNearestEdgeTests.cpp | 286 tcu::Vec4 finalColor = (color - m_texFormatInfo.lookupBias) / m_texFormatInfo.lookupScale; in fillTexture()
|