Home
last modified time | relevance | path

Searched refs:colorScale (Results 1 – 25 of 43) sorted by relevance

12

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktTextureCompressedFormatTests.cpp392 sampleParams.colorScale = tcu::Vec4(1.0f); in iterate()
397 sampleParams.colorScale = tcu::Vec4(0.5f, 1.0f, 1.0f, 1.0f); in iterate()
402 sampleParams.colorScale = tcu::Vec4(0.5f, 0.5f, 1.0f, 1.0f); in iterate()
407 sampleParams.colorScale = formatInfo.lookupScale; in iterate()
523 sampleParams.colorScale = tcu::Vec4(1.0f); in iterate()
528 sampleParams.colorScale = tcu::Vec4(0.5f, 1.0f, 1.0f, 1.0f); in iterate()
533 sampleParams.colorScale = tcu::Vec4(0.5f, 0.5f, 1.0f, 1.0f); in iterate()
538 sampleParams.colorScale = formatInfo.lookupScale; in iterate()
DvktTextureFilteringTests.cpp346 refParams.colorScale = fmtInfo.lookupScale; in iterate()
365 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
580 refParams.colorScale = fmtInfo.lookupScale; in iterate()
608 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
800 refParams.colorScale = fmtInfo.lookupScale; in iterate()
834 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
1009 refParams.colorScale = fmtInfo.lookupScale; in iterate()
1043 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
DvktTextureSwizzleTests.cpp148 sampleParams.colorScale = tcu::Vec4(lookupScale); in iterate()
215 …dst.setPixel(src.sample(sampleParams.sampler, s, t, lod) * sampleParams.colorScale + sampleParams.… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
DvktTextureCompressedFormatTests.cpp392 sampleParams.colorScale = tcu::Vec4(1.0f); in iterate()
397 sampleParams.colorScale = tcu::Vec4(0.5f, 1.0f, 1.0f, 1.0f); in iterate()
402 sampleParams.colorScale = tcu::Vec4(0.5f, 0.5f, 1.0f, 1.0f); in iterate()
407 sampleParams.colorScale = formatInfo.lookupScale; in iterate()
523 sampleParams.colorScale = tcu::Vec4(1.0f); in iterate()
528 sampleParams.colorScale = tcu::Vec4(0.5f, 1.0f, 1.0f, 1.0f); in iterate()
533 sampleParams.colorScale = tcu::Vec4(0.5f, 0.5f, 1.0f, 1.0f); in iterate()
538 sampleParams.colorScale = formatInfo.lookupScale; in iterate()
DvktTextureFilteringTests.cpp346 refParams.colorScale = fmtInfo.lookupScale; in iterate()
365 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
580 refParams.colorScale = fmtInfo.lookupScale; in iterate()
608 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
800 refParams.colorScale = fmtInfo.lookupScale; in iterate()
834 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
1009 refParams.colorScale = fmtInfo.lookupScale; in iterate()
1043 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
DvktTextureSwizzleTests.cpp148 sampleParams.colorScale = tcu::Vec4(lookupScale); in iterate()
215 …dst.setPixel(src.sample(sampleParams.sampler, s, t, lod) * sampleParams.colorScale + sampleParams.… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageLoadStoreUtil.hpp64 inline bool colorScaleAndBiasAreValid (const vk::VkFormat format, const float colorScale, const flo… in colorScaleAndBiasAreValid() argument
68 return !integerOrFloatFormat || (colorScale == 1.0f && colorBias == 0.0f); in colorScaleAndBiasAreValid()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageLoadStoreUtil.hpp64 inline bool colorScaleAndBiasAreValid (const vk::VkFormat format, const float colorScale, const flo… in colorScaleAndBiasAreValid() argument
68 return !integerOrFloatFormat || (colorScale == 1.0f && colorBias == 0.0f); in colorScaleAndBiasAreValid()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fASTCDecompressionCases.cpp239 …void initialize (int minRenderWidth, int minRenderHeight, const Vec4& colorScale, const Vec…
291 void ASTCRenderer2D::initialize (int minRenderWidth, int minRenderHeight, const Vec4& colorScale, c… in initialize() argument
299 m_colorScale = colorScale; in initialize()
315 …log << TestLog::Message << "Using color scale and bias: result = raw * " << colorScale << " + " <<… in initialize()
340 renderParams.colorScale = m_colorScale; in render()
Des3fTextureFilteringTests.cpp303 refParams.colorScale = fmtInfo.lookupScale; in iterate()
328 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
611 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
643 …kupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / sampleParams.colorScale; in iterate()
871 refParams.colorScale = fmtInfo.lookupScale; in iterate()
911 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
1113 refParams.colorScale = fmtInfo.lookupScale; in iterate()
1155 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
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()
Des3fTextureWrapTests.cpp337 refParams.colorScale = useDefaultColorScaleAndBias ? texFormatInfo.lookupScale : tcu::Vec4(1.0f); in iterate()
356 …eshold = tcu::computeColorBitsThreshold(getBitsVec(pixelFormat), colorBits) / refParams.colorScale; in iterate()
/third_party/skia/third_party/externals/angle2/src/third_party/libXNVCtrl/
DNVCtrlLib.h459 float colorScale[3]);
479 float colorScale[3]);
DNVCtrl.c834 float colorScale[3] in XNVCTRLSetGvoColorConversion()
863 req->cscScale_y = colorScale[0]; in XNVCTRLSetGvoColorConversion()
864 req->cscScale_cr = colorScale[1]; in XNVCTRLSetGvoColorConversion()
865 req->cscScale_cb = colorScale[2]; in XNVCTRLSetGvoColorConversion()
877 float colorScale[3] in XNVCTRLQueryGvoColorConversion()
903 _XRead(dpy, (char *)(colorScale), 12); in XNVCTRLQueryGvoColorConversion()
/third_party/vk-gl-cts/framework/opengl/
DgluTextureTestUtil.hpp93 , colorScale (1.0f) in RenderParams()
106 tcu::Vec4 colorScale; //!< Scale for texture color values. member
171 …::ConstPixelBufferAccess& src, const float* texCoord, const tcu::Vec4& colorScale, const tcu::Vec4…
DgluTextureTestUtil.cpp422 dst.setPixel(execSample(src, params, s, lod) * params.colorScale + params.colorBias, x, y); in sampleTextureNonProjected()
469 dst.setPixel(execSample(src, params, s, t, lod) * params.colorScale + params.colorBias, x, y); in sampleTextureNonProjected()
509 dst.setPixel(execSample(src, params, s, lod) * params.colorScale + params.colorBias, px, py); in sampleTextureProjected()
554 dst.setPixel(execSample(src, params, s, t, lod) * params.colorScale + params.colorBias, px, py); in sampleTextureProjected()
697 …dst.setPixel(execSample(src, params, coord.x(), coord.y(), coord.z(), lod) * params.colorScale + p… in sampleTextureCube()
756 dst.setPixel(execSample(src, params, s, t, r, lod) * params.colorScale + params.colorBias, x, y); in sampleTextureNonProjected()
803 dst.setPixel(execSample(src, params, s, t, lod) * params.colorScale + params.colorBias, x, y); in sampleTextureNonProjected()
854 …dst.setPixel(src.sample(params.sampler, s, t, r, lod) * params.colorScale + params.colorBias, x, y… in sampleTextureNonProjected()
902 …dst.setPixel(src.sample(params.sampler, s, t, r, lod) * params.colorScale + params.colorBias, px, … in sampleTextureProjected()
976 …le(src, params, coord.x(), coord.y(), coord.z(), coordQ, lod) * params.colorScale + params.colorBi… in sampleTextureCubeArray()
[all …]
/third_party/vk-gl-cts/modules/glshared/
DglsDrawTest.cpp1782 …anceCount, int indirectOffset, int baseVertex, float coordScale, float colorScale, AttributeArray*…
1861 …anceCount, int indirectOffset, int baseVertex, float coordScale, float colorScale, AttributeArray*… in render() argument
1874 m_ctx.uniform1f(m_ctx.getUniformLocation(m_programID, "u_colorScale"), colorScale); in render()
3214 float colorScale = getColorScale(spec); in iterate() local
3303 …, spec.instanceCount, spec.indirectOffset, spec.baseVertex, coordScale, colorScale, glArray.get()); in iterate()
3304 …, spec.instanceCount, spec.indirectOffset, spec.baseVertex, coordScale, colorScale, rrArray.get()); in iterate()
3317 …_LAST, DE_NULL, 0, 0, spec.instanceCount, spec.indirectOffset, 0, coordScale, colorScale, DE_NULL); in iterate()
3319 …_LAST, DE_NULL, 0, 0, spec.instanceCount, spec.indirectOffset, 0, coordScale, colorScale, DE_NULL); in iterate()
3834 float colorScale = 1.0f; in getColorScale() local
3847 colorScale *= 1.0f / 1024.0f; in getColorScale()
[all …]
DglsTextureTestUtil.cpp467 gl.uniform4fv(gl.getUniformLocation(prog, "u_colorScale"), 1, params.colorScale.getPtr()); in renderQuad()
472 m_log << TestLog::Message << "u_colorScale = " << params.colorScale << TestLog::EndMessage; in renderQuad()
DglsVertexArrayTests.cpp1085 …itive primitive, int firstVertex, int vertexCount, bool useVao, float coordScale, float colorScale) in render() argument
1102 m_ctx.uniform1f(m_ctx.getUniformLocation(program, "u_colorScale"), colorScale); in render()
1955 float colorScale = 1.0f; in iterate() local
1994colorScale *= (arraySpec.normalize && !inputTypeIsFloatType(arraySpec.inputType) ? 1.0f : float(1.… in iterate()
1996colorScale *= (arraySpec.normalize && !inputTypeIsFloatType(arraySpec.inputType) ? 1.0f : float(1.… in iterate()
2047 …ec.primitive, m_spec.first, m_spec.drawCount * (int)primitiveSize, useVao, coordScale, colorScale); in iterate()
2049 …ec.primitive, m_spec.first, m_spec.drawCount * (int)primitiveSize, useVao, coordScale, colorScale); in iterate()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fTextureFilteringTests.cpp282 refParams.colorScale = fmtInfo.lookupScale; in iterate()
307 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
561 sampleParams.colorScale = fmtInfo.lookupScale; in iterate()
593 …kupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / sampleParams.colorScale; in iterate()
Des2fTextureFormatTests.cpp157 renderParams.colorScale = spec.lookupScale; in iterate()
329 renderParams.colorScale = spec.lookupScale; in testFace()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fTextureBorderClampTests.cpp742 << "Texture lookup scale: " << samplerParams.colorScale << "\n" in logParams()
902 …gl.uniform4fv(gl.getUniformLocation(progId, "u_colorScale"), 1, samplerParams.colorScale.getPtr()); in renderQuad()
936 …upPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / samplerParams.colorScale; in verifyImage()
1133 …const tcu::Vec4 referencePixel = referenceValue * samplerParams.colorScale + samplerParams.color… in verifyTextureGatherResult()
1135 …onst tcu::Vec4 resultValue = (resultPixel - samplerParams.colorBias) / samplerParams.colorScale; in verifyTextureGatherResult()
1266 refParams.colorScale = config.lookupScale; in genSamplerParams()
1280 DE_ASSERT(refParams.colorScale == tcu::Vec4(refParams.colorScale.x())); in genSamplerParams()
2157 << "Texture lookup scale: " << samplerParams.colorScale << "\n" in logParams()
2224 …upPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / samplerParams.colorScale; in verifyImage()
2260 refParams.colorScale = m_lookupScale; in getSamplerParams()
Des31fTextureFilteringTests.cpp358 refParams.colorScale = fmtInfo.lookupScale; in iterate()
401 …lookupPrecision.colorThreshold = tcu::computeFixedPointThreshold(colorBits) / refParams.colorScale; in iterate()
Des31fTextureFormatTests.cpp220 renderParams.colorScale = spec.lookupScale; in testLayerFace()
368 renderParams.colorScale = spec.lookupScale; in iterate()
/third_party/skia/src/utils/
DSkShadowUtils.cpp567 SkScalar colorScale = colorAlpha*(SK_Scalar1 - greyscaleAlpha); in ComputeTonalColors() local
568 SkScalar tonalAlpha = colorScale + greyscaleAlpha; in ComputeTonalColors()
569 SkScalar unPremulScale = colorScale / tonalAlpha; in ComputeTonalColors()

12