Home
last modified time | relevance | path

Searched refs:lookupScale (Results 1 - 25 of 60) sorted by relevance

123

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineClearUtil.cpp43 return (defaultClearColorUnorm() - formatInfo.lookupBias) / formatInfo.lookupScale; in defaultClearColor()
50 const tcu::Vec4 color = (defaultClearColorUnorm() - formatInfo.lookupBias) / formatInfo.lookupScale; in defaultClearColorInt()
61 const tcu::Vec4 color = (defaultClearColorUnorm() - formatInfo.lookupBias) / formatInfo.lookupScale; in defaultClearColorUint()
H A DvktPipelineImageSamplingInstance.cpp993 const tcu::Vec4& lookupScale, in validateResultImage()
1007 const tcu::Vec4 resultColor = (resultPixel - lookupBias) / lookupScale; in validateResultImage()
1223 const tcu::Vec4& lookupScale, in validateResultImage()
1229 return validateResultImage(texture, sampler, texCoords, lodBounds, lookupPrecision, lookupScale, lookupBias, result, errorMask); in validateResultImage()
1236 return validateResultImage(*swizzledTex, sampler, texCoords, lodBounds, lookupPrecision, swizzleScaleBias(lookupScale, swz, 1.0f), swizzleScaleBias(lookupBias, swz, 0.0f), result, errorMask); in validateResultImage()
1414 const tcu::Vec4& lookupScale, in validateResultImage()
1427 return validateResultImage(*texView, sampler, componentMapping, coordAccess, lodBounds, lookupPrecision, lookupScale, lookupBias, resultAccess, errorAccess); in validateResultImage()
1434 return validateResultImage(*texView, sampler, componentMapping, coordAccess, lodBounds, lookupPrecision, lookupScale, lookupBias, resultAccess, errorAccess); in validateResultImage()
1441 return validateResultImage(*texView, sampler, componentMapping, coordAccess, lodBounds, lookupPrecision, lookupScale, lookupBias, resultAccess, errorAccess); in validateResultImage()
1448 return validateResultImage(*texView, sampler, componentMapping, coordAccess, lodBounds, lookupPrecision, lookupScale, lookupBia in validateResultImage()
988 validateResultImage(const TextureViewType& texture, const tcu::Sampler& sampler, const tcu::ConstPixelBufferAccess& texCoords, const tcu::Vec2& lodBounds, const tcu::LookupPrecision& lookupPrecision, const tcu::Vec4& lookupScale, const tcu::Vec4& lookupBias, const tcu::ConstPixelBufferAccess& result, const tcu::PixelBufferAccess& errorMask) validateResultImage() argument
1217 validateResultImage(const TextureViewType& texture, const tcu::Sampler& sampler, const vk::VkComponentMapping& swz, const tcu::ConstPixelBufferAccess& texCoords, const tcu::Vec2& lodBounds, const tcu::LookupPrecision& lookupPrecision, const tcu::Vec4& lookupScale, const tcu::Vec4& lookupBias, const tcu::ConstPixelBufferAccess& result, const tcu::PixelBufferAccess& errorMask) validateResultImage() argument
1406 validateResultImage(const TestTexture& texture, const VkImageViewType imageViewType, const VkImageSubresourceRange& subresource, const tcu::Sampler& sampler, const vk::VkComponentMapping& componentMapping, const tcu::ConstPixelBufferAccess& coordAccess, const tcu::Vec2& lodBounds, const tcu::LookupPrecision& lookupPrecision, const tcu::Vec4& lookupScale, const tcu::Vec4& lookupBias, const tcu::ConstPixelBufferAccess& resultAccess, const tcu::PixelBufferAccess& errorAccess) validateResultImage() argument
[all...]
H A DvktPipelineImageTests.cpp229 tcu::Vec4 lookupScale; in initPrograms() local
232 getLookupScaleBias(m_imageFormat, lookupScale, lookupBias); in initPrograms()
289 << " fragColors[i] = (texture(" << getGlslSampler(format, m_imageViewType, m_samplingType, m_imageCount) << ", vtxTexCoords." << texCoordSwizzle << std::scientific << ") * vec4" << lookupScale << ") + vec4" << lookupBias << "; \n"; in initPrograms()
292 << " fragColor = (texture(" << getGlslSampler(format, m_imageViewType, m_samplingType, m_imageCount) << ", vtxTexCoords." << texCoordSwizzle << std::scientific << ") * vec4" << lookupScale << ") + vec4" << lookupBias << "; \n"; in initPrograms()
H A DvktPipelineImageUtil.cpp181 void getLookupScaleBias (vk::VkFormat format, tcu::Vec4& lookupScale, tcu::Vec4& lookupBias, bool useStencilAspect)
190 lookupScale = tcu::Vec4(1.0f / 255.0f, 1.0f, 1.0f, 1.0f);
198 lookupScale = fmtInfo.lookupScale;
207 lookupScale = tcu::Vec4(0.5f, 1.0f, 1.0f, 1.0f);
212 lookupScale = tcu::Vec4(0.5f, 0.5f, 1.0f, 1.0f);
217 lookupScale = tcu::Vec4(0.5f, 0.5f, 1.0f, 1.0f);
226 lookupScale = tcu::Vec4(1.0f);
H A DvktPipelineImageViewTests.cpp189 tcu::Vec4 lookupScale; in initPrograms() local
192 getLookupScaleBias(m_imageFormat, lookupScale, lookupBias); in initPrograms()
194 tcu::Vec4 swizzledScale = swizzle(lookupScale, m_componentMapping); in initPrograms()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineClearUtil.cpp43 return (defaultClearColorUnorm() - formatInfo.lookupBias) / formatInfo.lookupScale; in defaultClearColor()
50 const tcu::Vec4 color = (defaultClearColorUnorm() - formatInfo.lookupBias) / formatInfo.lookupScale; in defaultClearColorInt()
61 const tcu::Vec4 color = (defaultClearColorUnorm() - formatInfo.lookupBias) / formatInfo.lookupScale; in defaultClearColorUint()
H A DvktPipelineImageSamplingInstance.cpp987 const tcu::Vec4& lookupScale, in validateResultImage()
1001 const tcu::Vec4 resultColor = (resultPixel - lookupBias) / lookupScale; in validateResultImage()
1217 const tcu::Vec4& lookupScale, in validateResultImage()
1223 return validateResultImage(texture, sampler, texCoords, lodBounds, lookupPrecision, lookupScale, lookupBias, result, errorMask); in validateResultImage()
1230 return validateResultImage(*swizzledTex, sampler, texCoords, lodBounds, lookupPrecision, swizzleScaleBias(lookupScale, swz, 1.0f), swizzleScaleBias(lookupBias, swz, 0.0f), result, errorMask); in validateResultImage()
1408 const tcu::Vec4& lookupScale, in validateResultImage()
1421 return validateResultImage(*texView, sampler, componentMapping, coordAccess, lodBounds, lookupPrecision, lookupScale, lookupBias, resultAccess, errorAccess); in validateResultImage()
1428 return validateResultImage(*texView, sampler, componentMapping, coordAccess, lodBounds, lookupPrecision, lookupScale, lookupBias, resultAccess, errorAccess); in validateResultImage()
1435 return validateResultImage(*texView, sampler, componentMapping, coordAccess, lodBounds, lookupPrecision, lookupScale, lookupBias, resultAccess, errorAccess); in validateResultImage()
1442 return validateResultImage(*texView, sampler, componentMapping, coordAccess, lodBounds, lookupPrecision, lookupScale, lookupBia in validateResultImage()
982 validateResultImage(const TextureViewType& texture, const tcu::Sampler& sampler, const tcu::ConstPixelBufferAccess& texCoords, const tcu::Vec2& lodBounds, const tcu::LookupPrecision& lookupPrecision, const tcu::Vec4& lookupScale, const tcu::Vec4& lookupBias, const tcu::ConstPixelBufferAccess& result, const tcu::PixelBufferAccess& errorMask) validateResultImage() argument
1211 validateResultImage(const TextureViewType& texture, const tcu::Sampler& sampler, const vk::VkComponentMapping& swz, const tcu::ConstPixelBufferAccess& texCoords, const tcu::Vec2& lodBounds, const tcu::LookupPrecision& lookupPrecision, const tcu::Vec4& lookupScale, const tcu::Vec4& lookupBias, const tcu::ConstPixelBufferAccess& result, const tcu::PixelBufferAccess& errorMask) validateResultImage() argument
1400 validateResultImage(const TestTexture& texture, const VkImageViewType imageViewType, const VkImageSubresourceRange& subresource, const tcu::Sampler& sampler, const vk::VkComponentMapping& componentMapping, const tcu::ConstPixelBufferAccess& coordAccess, const tcu::Vec2& lodBounds, const tcu::LookupPrecision& lookupPrecision, const tcu::Vec4& lookupScale, const tcu::Vec4& lookupBias, const tcu::ConstPixelBufferAccess& resultAccess, const tcu::PixelBufferAccess& errorAccess) validateResultImage() argument
[all...]
H A DvktPipelineImageTests.cpp223 tcu::Vec4 lookupScale; in initPrograms() local
226 getLookupScaleBias(m_imageFormat, lookupScale, lookupBias); in initPrograms()
283 << " fragColors[i] = (texture(" << getGlslSampler(format, m_imageViewType, m_samplingType, m_imageCount) << ", vtxTexCoords." << texCoordSwizzle << std::scientific << ") * vec4" << lookupScale << ") + vec4" << lookupBias << "; \n"; in initPrograms()
286 << " fragColor = (texture(" << getGlslSampler(format, m_imageViewType, m_samplingType, m_imageCount) << ", vtxTexCoords." << texCoordSwizzle << std::scientific << ") * vec4" << lookupScale << ") + vec4" << lookupBias << "; \n"; in initPrograms()
H A DvktPipelineImageUtil.cpp176 void getLookupScaleBias (vk::VkFormat format, tcu::Vec4& lookupScale, tcu::Vec4& lookupBias, bool useStencilAspect)
185 lookupScale = tcu::Vec4(1.0f / 255.0f, 1.0f, 1.0f, 1.0f);
193 lookupScale = fmtInfo.lookupScale;
202 lookupScale = tcu::Vec4(0.5f, 1.0f, 1.0f, 1.0f);
207 lookupScale = tcu::Vec4(0.5f, 0.5f, 1.0f, 1.0f);
216 lookupScale = tcu::Vec4(1.0f);
H A DvktPipelineImageViewTests.cpp183 tcu::Vec4 lookupScale; in initPrograms() local
186 getLookupScaleBias(m_imageFormat, lookupScale, lookupBias); in initPrograms()
188 tcu::Vec4 swizzledScale = swizzle(lookupScale, m_componentMapping); in initPrograms()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fTextureBorderClampTests.cpp513 tcu::Vec4 lookupScale;
1266 refParams.colorScale = config.lookupScale;
1450 iteration.lookupScale = tcu::Vec4(texFormatInfo.lookupScale.x());
1455 iteration.lookupScale = texFormatInfo.lookupScale;
1527 iteration.lookupScale = tcu::Vec4(0.5f); // scale & bias to [0.25, 0.5] range to make out-of-range values visible
1537 iteration.lookupScale = tcu::Vec4(0.5f);
1568 iteration.lookupScale = tcu::Vec4(0.5f) / divSafeRange.cast<float>();
1582 iteration.lookupScale
[all...]
H A Des31fTextureFormatTests.cpp220 renderParams.colorScale = spec.lookupScale; in testLayerFace()
368 renderParams.colorScale = spec.lookupScale; in iterate()
396 fetchTexture(tcu::SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), effectiveRefTexture, &texCoord[0], spec.lookupScale, spec.lookupBias); in iterate()
H A Des31fFboColorbufferTests.cpp190 readPixels(dst, 0, 0, getWidth(), getHeight(), texFmt, fmtInfo.lookupScale, fmtInfo.lookupBias); in render()
236 arrayTexShader.setTexScaleBias(fmtInfo.lookupScale, fmtInfo.lookupBias); in render()
H A Des31fTextureSpecificationTests.cpp252 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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
H A DvktTextureSwizzleTests.cpp136 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()
H A DvktTextureCompressedFormatTests.cpp407 sampleParams.colorScale = formatInfo.lookupScale; in iterate()
538 sampleParams.colorScale = formatInfo.lookupScale; in iterate()
/third_party/vk-gl-cts/framework/common/
H A DtcuTextureUtil.hpp92 Vec4 lookupScale; member
98 , lookupScale (lookupScale_) in TextureFormatInfo()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
H A DvktTextureSwizzleTests.cpp153 const float lookupScale = tcu::getTextureFormatInfo(textureFormat).lookupScale[0]; in iterate() local
164 sampleParams.colorScale = tcu::Vec4(lookupScale); in iterate()
182 log << TestLog::Message << "Lookup scale = " << lookupScale << TestLog::EndMessage; in iterate()
254 const deUint8 one = deUint8(255.0f * (lookupScale + lookupBias)); in iterate()
H A DvktTextureCompressedFormatTests.cpp407 sampleParams.colorScale = formatInfo.lookupScale; in iterate()
538 sampleParams.colorScale = formatInfo.lookupScale; in iterate()
/third_party/vk-gl-cts/modules/gles3/functional/
H A 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()
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()
H A Des3fFboRenderTest.cpp550 texFromFboShader.setTexScaleBias(0, fboRangeInfo.lookupScale, fboRangeInfo.lookupBias); in render()
603 readPixels(context, dst, 0, 0, width, height, colorFormat, fboRangeInfo.lookupScale, fboRangeInfo.lookupBias); in render()
1137 texFromFboShader.setTexScaleBias(0, fboRangeInfo.lookupScale, fboRangeInfo.lookupBias); in render()
1244 readPixels(context, dst, 0, 0, newWidth, newHeight, colorFormat, fboRangeInfo.lookupScale, fboRangeInfo.lookupBias); in render()
1297 texFromFboShader.setTexScaleBias(0, fboRangeInfo.lookupScale, fboRangeInfo.lookupBias); in render()
1444 readPixels(ctx, dst, 0, 0, width, height, colorFormat, fboRangeInfo.lookupScale, fboRangeInfo.lookupBias); in render()
H A Des3fTextureFormatTests.cpp197 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()
H A Des3fFboInvalidateTests.cpp545 readPixels(dst, 0, 0, getWidth(), getHeight(), colorFmt, colorFmtInfo.lookupScale, colorFmtInfo.lookupBias); in render()
643 texShader.setTexScaleBias(0, colorFmtInfo.lookupScale, colorFmtInfo.lookupBias); in render()
901 readPixels(dst, 0, 0, getWidth(), getHeight(), colorFmt, colorFmtInfo.lookupScale, colorFmtInfo.lookupBias); in render()
1015 texShader.setTexScaleBias(0, colorFmtInfo.lookupScale, colorFmtInfo.lookupBias); in render()
1311 readPixels(dst, 0, 0, getWidth(), getHeight(), colorFmt, colorFmtInfo.lookupScale, colorFmtInfo.lookupBias); in render()
H A Des3fFramebufferBlitTests.cpp362 tcu::select(dstFmtRangeInfo.lookupScale, srcFmtRangeInfo.lookupScale, tcu::logicalAnd(copyMask, srcIsGreater)), in render()
366 tcu::select(dstFmtRangeInfo.lookupScale, srcFmtRangeInfo.lookupScale, tcu::logicalOr(tcu::logicalNot(copyMask), srcIsGreater)), in render()
425 readPixels(dst, 0, 0, m_size.x(), m_size.y(), dstFormat, dstRangeInfo.lookupScale, dstRangeInfo.lookupBias); in render()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fTextureFormatTests.cpp157 renderParams.colorScale = spec.lookupScale; in iterate()
329 renderParams.colorScale = spec.lookupScale; in testFace()

Completed in 40 milliseconds

123