Home
last modified time | relevance | path

Searched refs:lookupScale (Results 1 – 25 of 42) sorted by relevance

12

/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineClearUtil.cpp43 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()
DvktPipelineImageSamplingInstance.cpp847 const tcu::Vec4& lookupScale, in validateResultImage() argument
861 const tcu::Vec4 resultColor = (resultPixel - lookupBias) / lookupScale; in validateResultImage()
1077 const tcu::Vec4& lookupScale, in validateResultImage() argument
1083 …return validateResultImage(texture, sampler, texCoords, lodBounds, lookupPrecision, lookupScale, l… in validateResultImage()
1090 …dTex, sampler, texCoords, lodBounds, lookupPrecision, swizzleScaleBias(lookupScale, swz, 1.0f), sw… in validateResultImage()
1268 const tcu::Vec4& lookupScale, in validateResultImage() argument
1281 …w, sampler, componentMapping, coordAccess, lodBounds, lookupPrecision, lookupScale, lookupBias, re… in validateResultImage()
1288 …w, sampler, componentMapping, coordAccess, lodBounds, lookupPrecision, lookupScale, lookupBias, re… in validateResultImage()
1295 …w, sampler, componentMapping, coordAccess, lodBounds, lookupPrecision, lookupScale, lookupBias, re… in validateResultImage()
1302 …w, sampler, componentMapping, coordAccess, lodBounds, lookupPrecision, lookupScale, lookupBias, re… in validateResultImage()
[all …]
DvktPipelineImageTests.cpp116 tcu::Vec4 lookupScale; in initPrograms() local
119 getLookupScaleBias(m_imageFormat, lookupScale, lookupBias); in initPrograms()
176 … vtxTexCoords." << texCoordSwizzle << std::scientific << ") * vec4" << lookupScale << ") + vec4" <… in initPrograms()
179 … vtxTexCoords." << texCoordSwizzle << std::scientific << ") * vec4" << lookupScale << ") + vec4" <… in initPrograms()
DvktPipelineImageViewTests.cpp130 tcu::Vec4 lookupScale; in initPrograms() local
133 getLookupScaleBias(m_imageFormat, lookupScale, lookupBias); in initPrograms()
135 tcu::Vec4 swizzledScale = swizzle(lookupScale, m_componentMapping); in initPrograms()
DvktPipelineImageUtil.cpp156 void getLookupScaleBias (vk::VkFormat format, tcu::Vec4& lookupScale, tcu::Vec4& lookupBias) in getLookupScaleBias() argument
163 lookupScale = fmtInfo.lookupScale; in getLookupScaleBias()
171 lookupScale = tcu::Vec4(0.5f, 1.0f, 1.0f, 1.0f); in getLookupScaleBias()
176 lookupScale = tcu::Vec4(0.5f, 0.5f, 1.0f, 1.0f); in getLookupScaleBias()
185 lookupScale = tcu::Vec4(1.0f); in getLookupScaleBias()
DvktPipelineSamplerTests.cpp259 tcu::Vec4 lookupScale; in initPrograms() local
262 getLookupScaleBias(m_imageFormat, lookupScale, lookupBias); in initPrograms()
264 tcu::Vec4 swizzledScale = swizzle(lookupScale, getComponentMapping(), 1.0f); in initPrograms()
DvktPipelineImageUtil.hpp69 tcu::Vec4& lookupScale,
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureSwizzleTests.cpp99 const float lookupScale = tcu::getTextureFormatInfo(textureFormat).lookupScale[0]; in iterate() local
111 sampleParams.colorScale = tcu::Vec4(lookupScale); in iterate()
117 log << TestLog::Message << "Lookup scale = " << lookupScale << TestLog::EndMessage; in iterate()
136 const deUint8 one = deUint8(255.0f * (lookupScale + lookupBias)); in iterate()
DvktTextureCompressedFormatTests.cpp133 sampleParams.colorScale = formatInfo.lookupScale; in iterate()
/external/deqp/modules/gles31/functional/
Des31fTextureBorderClampTests.cpp513 tcu::Vec4 lookupScale; member
1265 refParams.colorScale = config.lookupScale; in genSamplerParams()
1449 iteration.lookupScale = tcu::Vec4(texFormatInfo.lookupScale.x()); in init()
1454 iteration.lookupScale = texFormatInfo.lookupScale; in init()
1526 …iteration.lookupScale = tcu::Vec4(0.5f); // scale & bias to [0.25, 0.5] range to make out-of-range… in init()
1536 iteration.lookupScale = tcu::Vec4(0.5f); in init()
1567 iteration.lookupScale = tcu::Vec4(0.5f) / divSafeRange.cast<float>(); in init()
1581 iteration.lookupScale = tcu::Vec4(0.5f) / divSafeRange.cast<float>(); in init()
1594 iteration.lookupScale = tcu::Vec4(0.5f) / divSafeRange.cast<float>(); in init()
1608 iteration.lookupScale = tcu::Vec4(0.5f) / divSafeRange.cast<float>(); in init()
[all …]
Des31fTextureFormatTests.cpp213 renderParams.colorScale = spec.lookupScale; in testLayerFace()
361 renderParams.colorScale = spec.lookupScale; in iterate()
389 …derTarget().getPixelFormat()), effectiveRefTexture, &texCoord[0], spec.lookupScale, spec.lookupBia… in iterate()
Des31fTextureSpecificationTests.cpp250 shader.setTexScaleBias(m_texFormatInfo.lookupScale, m_texFormatInfo.lookupBias); in verifyTexture()
603 m_texFormatInfo.lookupScale = Vec4(0.5f, 1.0f, 1.0f, 0.0f); in TexImageCubeArrayDepthCase()
648 m_texFormatInfo.lookupScale = Vec4(0.5f, 1.0f, 1.0f, 0.0f); in TexSubImageCubeArrayDepthCase()
717 m_texFormatInfo.lookupScale = Vec4(0.5f, 1.0f, 1.0f, 0.0f); in TexImageCubeArrayDepthBufferCase()
Des31fFboColorbufferTests.cpp148 arrayTexShader.setTexScaleBias(fmtInfo.lookupScale, fmtInfo.lookupBias); in render()
/external/deqp/modules/gles3/functional/
Des3fFboColorbufferTests.cpp195 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()
372 cubeTexShader.setTexScaleBias(fmtInfo.lookupScale, fmtInfo.lookupBias); in render()
501 arrayTexShader.setTexScaleBias(fmtInfo.lookupScale, fmtInfo.lookupBias); in render()
627 tdTexShader.setTexScaleBias(fmtInfo.lookupScale, fmtInfo.lookupBias); in render()
882 …readPixels(dst, 0, 0, fboSizes[1], fboSizes[1], fboFormat, fmtInfo.lookupScale, fmtInfo.lookupBias… in render()
948 …readPixels(dst, 0, 0, fboSizes[1], fboSizes[1], fboFormat, fmtInfo.lookupScale, fmtInfo.lookupBias… in render()
1010 …readPixels(dst, 0, 0, fboSizes[1], fboSizes[1], fboFormat, fmtInfo.lookupScale, fmtInfo.lookupBias… in render()
Des3fFramebufferBlitTests.cpp359 …tcu::select(dstFmtRangeInfo.lookupScale, srcFmtRangeInfo.lookupScale, tcu::logicalAnd(copyMask, sr… in render()
363 …tcu::select(dstFmtRangeInfo.lookupScale, srcFmtRangeInfo.lookupScale, tcu::logicalOr(tcu::logicalN… in render()
422 …readPixels(dst, 0, 0, m_size.x(), m_size.y(), dstFormat, dstRangeInfo.lookupScale, dstRangeInfo.lo… in render()
Des3fFboRenderTest.cpp550 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()
Des3fTextureFormatTests.cpp194 renderParams.colorScale = spec.lookupScale; in iterate()
385 renderParams.colorScale = spec.lookupScale; in testFace()
551 renderParams.colorScale = spec.lookupScale; in testLayer()
709 renderParams.colorScale = spec.lookupScale; in testSlice()
855 renderParams.colorScale = spec.lookupScale; in iterate()
1007 renderParams.colorScale = spec.lookupScale; in testFace()
Des3fFboInvalidateTests.cpp545 …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()
Des3fTextureSwizzleTests.cpp159 renderParams.colorScale = spec.lookupScale; in iterate()
Des3fTextureSpecificationTests.cpp285 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()
3027 m_texFormatInfo.lookupScale = Vec4(0.5f, 1.0f, 1.0f, 0.0f); in TexImage2DDepthCase()
3074 m_texFormatInfo.lookupScale = Vec4(0.5f, 1.0f, 1.0f, 0.0f); in TexImage2DArrayDepthCase()
3120 m_texFormatInfo.lookupScale = Vec4(0.5f, 1.0f, 1.0f, 0.0f); in TexSubImage2DDepthCase()
3190 m_texFormatInfo.lookupScale = Vec4(0.5f, 1.0f, 1.0f, 0.0f); in TexSubImage2DArrayDepthCase()
3261 m_texFormatInfo.lookupScale = Vec4(0.5f, 1.0f, 1.0f, 0.0f); in TexImage2DDepthBufferCase()
3322 m_texFormatInfo.lookupScale = Vec4(0.5f, 1.0f, 1.0f, 0.0f); in TexImage2DArrayDepthBufferCase()
Des3fFboMultisampleTests.cpp225 …readPixels(dst, 0, 0, m_size.x(), m_size.y(), colorFmt, colorFmtInfo.lookupScale, colorFmtInfo.loo… in render()
/external/deqp/framework/common/
DtcuTextureUtil.hpp90 Vec4 lookupScale; member
96 , lookupScale (lookupScale_) in TextureFormatInfo()
/external/deqp/modules/gles2/functional/
Des2fTextureFormatTests.cpp157 renderParams.colorScale = spec.lookupScale; in iterate()
329 renderParams.colorScale = spec.lookupScale; in testFace()
/external/deqp/modules/gles3/accuracy/
Des3aTextureFilteringTests.cpp225 refParams.colorScale = fmtInfo.lookupScale; in iterate()
557 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
/external/deqp/modules/gles2/accuracy/
Des2aTextureFilteringTests.cpp235 refParams.colorScale = fmtInfo.lookupScale; in iterate()
548 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()

12