Home
last modified time | relevance | path

Searched refs:lookupBias (Results 1 – 25 of 39) sorted by relevance

12

/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineClearUtil.cpp43 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()
DvktPipelineImageSamplingInstance.cpp950 const tcu::Vec4& lookupBias, in validateResultImage() argument
963 const tcu::Vec4 resultColor = (resultPixel - lookupBias) / lookupScale; in validateResultImage()
1162 const tcu::Vec4& lookupBias, in validateResultImage() argument
1167 …(texture, sampler, texCoords, lodBounds, lookupPrecision, lookupScale, lookupBias, result, errorMa… in validateResultImage()
1174 … lookupPrecision, swizzleScaleBias(lookupScale, swz), swizzleScaleBias(lookupBias, swz), result, e… in validateResultImage()
1353 const tcu::Vec4& lookupBias, in validateResultImage() argument
1365 …omponentMapping, coordAccess, lodBounds, lookupPrecision, lookupScale, lookupBias, resultAccess, e… in validateResultImage()
1372 …omponentMapping, coordAccess, lodBounds, lookupPrecision, lookupScale, lookupBias, resultAccess, e… in validateResultImage()
1379 …omponentMapping, coordAccess, lodBounds, lookupPrecision, lookupScale, lookupBias, resultAccess, e… in validateResultImage()
1386 …omponentMapping, coordAccess, lodBounds, lookupPrecision, lookupScale, lookupBias, resultAccess, e… in validateResultImage()
[all …]
DvktPipelineImageTests.cpp117 tcu::Vec4 lookupBias; in initPrograms() local
119 getLookupScaleBias(m_imageFormat, lookupScale, lookupBias); in initPrograms()
176 …CoordSwizzle << std::scientific << ") * vec4" << lookupScale << ") + vec4" << lookupBias << "; \n"; in initPrograms()
179 …CoordSwizzle << std::scientific << ") * vec4" << lookupScale << ") + vec4" << lookupBias << "; \n"; in initPrograms()
DvktPipelineImageUtil.cpp167 void getLookupScaleBias (vk::VkFormat format, tcu::Vec4& lookupScale, tcu::Vec4& lookupBias) in getLookupScaleBias() argument
175 lookupBias = fmtInfo.lookupBias; in getLookupScaleBias()
183 lookupBias = tcu::Vec4(0.5f, 0.0f, 0.0f, 0.0f); in getLookupScaleBias()
188 lookupBias = tcu::Vec4(0.5f, 0.5f, 0.0f, 0.0f); in getLookupScaleBias()
197 lookupBias = tcu::Vec4(0.0f); in getLookupScaleBias()
DvktPipelineImageViewTests.cpp131 tcu::Vec4 lookupBias; in initPrograms() local
133 getLookupScaleBias(m_imageFormat, lookupScale, lookupBias); in initPrograms()
136 tcu::Vec4 swizzledBias = swizzle(lookupBias, m_componentMapping); in initPrograms()
DvktPipelineSamplerTests.cpp188 tcu::Vec4 lookupBias; in initPrograms() local
190 getLookupScaleBias(m_imageFormat, lookupScale, lookupBias); in initPrograms()
240 fragmentSrc << " * vec4" << std::scientific << lookupScale << " + vec4" << lookupBias << ";\n" in initPrograms()
DvktPipelineImageUtil.hpp64 tcu::Vec4& lookupBias);
/external/deqp/modules/gles31/functional/
Des31fTextureBorderClampTests.cpp514 tcu::Vec4 lookupBias; member
1266 refParams.colorBias = config.lookupBias; in genSamplerParams()
1450 iteration.lookupBias = tcu::Vec4(texFormatInfo.lookupBias.x()); in init()
1455 iteration.lookupBias = texFormatInfo.lookupBias; in init()
1527 iteration.lookupBias = tcu::Vec4(0.25f); in init()
1537 iteration.lookupBias = tcu::Vec4(0.25f); in init()
1568 iteration.lookupBias = (isSigned) ? (tcu::Vec4(0.5f)) : (tcu::Vec4(0.25f)); in init()
1582 iteration.lookupBias = tcu::Vec4(0.5f); in init()
1595 iteration.lookupBias = tcu::Vec4(0.25f); in init()
1609 iteration.lookupBias = tcu::Vec4(0.25f); in init()
[all …]
Des31fTextureFormatTests.cpp192 renderParams.colorBias = spec.lookupBias; in testLayerFace()
338 renderParams.colorBias = spec.lookupBias; in iterate()
365 …rTarget().getPixelFormat()), effectiveRefTexture, &texCoord[0], spec.lookupScale, spec.lookupBias); in iterate()
Des31fTextureSpecificationTests.cpp248 shader.setTexScaleBias(m_texFormatInfo.lookupScale, m_texFormatInfo.lookupBias); in verifyTexture()
600 m_texFormatInfo.lookupBias = Vec4(0.25f, 0.0f, 0.0f, 1.0f); in TexImageCubeArrayDepthCase()
645 m_texFormatInfo.lookupBias = Vec4(0.25f, 0.0f, 0.0f, 1.0f); in TexSubImageCubeArrayDepthCase()
714 m_texFormatInfo.lookupBias = Vec4(0.25f, 0.0f, 0.0f, 1.0f); in TexImageCubeArrayDepthBufferCase()
Des31fFboColorbufferTests.cpp148 arrayTexShader.setTexScaleBias(fmtInfo.lookupScale, fmtInfo.lookupBias); in render()
/external/deqp/framework/common/
DtcuTextureUtil.hpp91 Vec4 lookupBias; member
97 , lookupBias (lookupBias_) in TextureFormatInfo()
/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 …eadPixels(dst, 0, 0, fboSizes[1], fboSizes[1], fboFormat, fmtInfo.lookupScale, fmtInfo.lookupBias); in render()
948 …eadPixels(dst, 0, 0, fboSizes[1], fboSizes[1], fboFormat, fmtInfo.lookupScale, fmtInfo.lookupBias); in render()
1010 …eadPixels(dst, 0, 0, fboSizes[1], fboSizes[1], fboFormat, fmtInfo.lookupScale, fmtInfo.lookupBias); in render()
Des3fFramebufferBlitTests.cpp360 …tcu::select(dstFmtRangeInfo.lookupBias, srcFmtRangeInfo.lookupBias, tcu::logicalAnd(copyMask, src… in render()
364 …tcu::select(dstFmtRangeInfo.lookupBias, srcFmtRangeInfo.lookupBias, tcu::logicalOr(tcu::logicalNo… in render()
422 …s(dst, 0, 0, m_size.x(), m_size.y(), dstFormat, dstRangeInfo.lookupScale, dstRangeInfo.lookupBias); in render()
Des3fTextureFormatTests.cpp174 renderParams.colorBias = spec.lookupBias; in iterate()
360 renderParams.colorBias = spec.lookupBias; in testFace()
521 renderParams.colorBias = spec.lookupBias; in testLayer()
674 renderParams.colorBias = spec.lookupBias; in testSlice()
820 renderParams.colorBias = spec.lookupBias; in iterate()
972 renderParams.colorBias = spec.lookupBias; in testFace()
Des3fFboRenderTest.cpp548 texFromFboShader.setTexScaleBias(0, fboRangeInfo.lookupScale, fboRangeInfo.lookupBias); in render()
601 …context, dst, 0, 0, width, height, colorFormat, fboRangeInfo.lookupScale, fboRangeInfo.lookupBias); in render()
1135 texFromFboShader.setTexScaleBias(0, fboRangeInfo.lookupScale, fboRangeInfo.lookupBias); in render()
1242 …t, dst, 0, 0, newWidth, newHeight, colorFormat, fboRangeInfo.lookupScale, fboRangeInfo.lookupBias); in render()
1295 texFromFboShader.setTexScaleBias(0, fboRangeInfo.lookupScale, fboRangeInfo.lookupBias); in render()
1442 …els(ctx, dst, 0, 0, width, height, colorFormat, fboRangeInfo.lookupScale, fboRangeInfo.lookupBias); in render()
Des3fFboInvalidateTests.cpp545 …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()
Des3fFboMultisampleTests.cpp224 …ls(dst, 0, 0, m_size.x(), m_size.y(), colorFmt, colorFmtInfo.lookupScale, colorFmtInfo.lookupBias); in render()
Des3fTextureSwizzleTests.cpp160 renderParams.colorBias = spec.lookupBias; 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()
3026 m_texFormatInfo.lookupBias = Vec4(0.25f, 0.0f, 0.0f, 1.0f); in TexImage2DDepthCase()
3073 m_texFormatInfo.lookupBias = Vec4(0.25f, 0.0f, 0.0f, 1.0f); in TexImage2DArrayDepthCase()
3119 m_texFormatInfo.lookupBias = Vec4(0.25f, 0.0f, 0.0f, 1.0f); in TexSubImage2DDepthCase()
3189 m_texFormatInfo.lookupBias = Vec4(0.25f, 0.0f, 0.0f, 1.0f); in TexSubImage2DArrayDepthCase()
3260 m_texFormatInfo.lookupBias = Vec4(0.25f, 0.0f, 0.0f, 1.0f); in TexImage2DDepthBufferCase()
3321 m_texFormatInfo.lookupBias = Vec4(0.25f, 0.0f, 0.0f, 1.0f); in TexImage2DArrayDepthBufferCase()
Des3fTextureFilteringTests.cpp281 refParams.colorBias = fmtInfo.lookupBias; in iterate()
587 sampleParams.colorBias = fmtInfo.lookupBias; in iterate()
845 refParams.colorBias = fmtInfo.lookupBias; in iterate()
1085 refParams.colorBias = fmtInfo.lookupBias; in iterate()
/external/deqp/modules/gles2/functional/
Des2fTextureFormatTests.cpp158 renderParams.colorBias = spec.lookupBias; in iterate()
330 renderParams.colorBias = spec.lookupBias; in testFace()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureFilteringTests.cpp211 refParams.colorBias = fmtInfo.lookupBias; in iterate()
423 refParams.colorBias = fmtInfo.lookupBias; in iterate()
623 refParams.colorBias = fmtInfo.lookupBias; in iterate()
807 refParams.colorBias = fmtInfo.lookupBias; in iterate()
/external/deqp/modules/gles2/accuracy/
Des2aTextureFilteringTests.cpp234 refParams.colorBias = fmtInfo.lookupBias; in iterate()
547 sampleParams.colorBias = fmtInfo.lookupBias; in iterate()
/external/deqp/modules/gles3/accuracy/
Des3aTextureFilteringTests.cpp224 refParams.colorBias = fmtInfo.lookupBias; in iterate()
556 sampleParams.colorBias = fmtInfo.lookupBias; in iterate()

12