Home
last modified time | relevance | path

Searched refs:srcColor (Results 1 – 25 of 44) sorted by relevance

12

/third_party/skia/third_party/externals/tint/test/bug/tint/
D913.wgsl.expected.msl32 float4 const srcColor = tint_symbol_1.read(uint2(int2(srcTexCoord)), 0);
35 …success = ((success && aboutEqual(dstColor[0], srcColor[0])) && aboutEqual(dstColor[1], srcColor[1…
37 …tColor[0], srcColor[0])) && aboutEqual(dstColor[1], srcColor[1])) && aboutEqual(dstColor[2], srcCo…
D913.wgsl.expected.wgsl41 let srcColor : vec4<f32> = textureLoad(src, vec2<i32>(srcTexCoord), 0);
44 … success = ((success && aboutEqual(dstColor.r, srcColor.r)) && aboutEqual(dstColor.g, srcColor.g));
46 …l(dstColor.r, srcColor.r)) && aboutEqual(dstColor.g, srcColor.g)) && aboutEqual(dstColor.b, srcCol…
D913.wgsl.expected.glsl55 vec4 srcColor = texelFetch(src, ivec2(srcTexCoord), 0);
60 tint_tmp_5 = aboutEqual(dstColor.r, srcColor.r);
64 tint_tmp_4 = aboutEqual(dstColor.g, srcColor.g);
70 tint_tmp_9 = aboutEqual(dstColor.r, srcColor.r);
74 tint_tmp_8 = aboutEqual(dstColor.g, srcColor.g);
78 tint_tmp_7 = aboutEqual(dstColor.b, srcColor.b);
82 tint_tmp_6 = aboutEqual(dstColor.a, srcColor.a);
D913.wgsl.expected.hlsl49 const float4 srcColor = src.Load(int3(int2(srcTexCoord), 0));
54 tint_tmp_7 = aboutEqual(dstColor.r, srcColor.r);
58 tint_tmp_6 = aboutEqual(dstColor.g, srcColor.g);
64 tint_tmp_11 = aboutEqual(dstColor.r, srcColor.r);
68 tint_tmp_10 = aboutEqual(dstColor.g, srcColor.g);
72 tint_tmp_9 = aboutEqual(dstColor.b, srcColor.b);
76 tint_tmp_8 = aboutEqual(dstColor.a, srcColor.a);
D913.wgsl46 let srcColor : vec4<f32> = textureLoad(src, vec2<i32>(srcTexCoord), 0);
53 aboutEqual(dstColor.r, srcColor.r) &&
54 aboutEqual(dstColor.g, srcColor.g);
57 aboutEqual(dstColor.r, srcColor.r) &&
58 aboutEqual(dstColor.g, srcColor.g) &&
59 aboutEqual(dstColor.b, srcColor.b) &&
60 aboutEqual(dstColor.a, srcColor.a);
D534.wgsl.expected.spvasm30 OpName %srcColor "srcColor"
113 %srcColor = OpVariable %_ptr_Function_v4float Function %64
147 OpStore %srcColor %58
175 %100 = OpAccessChain %_ptr_Function_float %srcColor %98
D534.wgsl.expected.glsl32 vec4 srcColor = texelFetch(src, srcTexCoord, 0);
39 srcColorBits[i] = ConvertToFp16FloatValue(srcColor[i]);
D534.wgsl.expected.wgsl34 var srcColor : vec4<f32> = textureLoad(src, srcTexCoord, 0);
40 srcColorBits[i] = ConvertToFp16FloatValue(srcColor[i]);
D534.wgsl.expected.hlsl29 float4 srcColor = src.Load(int3(srcTexCoord, 0));
36 set_uint4(srcColorBits, i, ConvertToFp16FloatValue(srcColor[i]));
D534.wgsl.expected.msl25 float4 srcColor = tint_symbol_1.read(uint2(srcTexCoord), 0);
31 srcColorBits[i] = ConvertToFp16FloatValue(srcColor[i]);
D534.wgsl30 var srcColor : vec4<f32> = textureLoad(src, srcTexCoord, 0);
38 srcColorBits[i] = ConvertToFp16FloatValue(srcColor[i]);
/third_party/vk-gl-cts/framework/referencerenderer/
DrrFragmentOperations.cpp469 const Vec4& srcColor = sample.clampedBlendSrcColor; \ in executeBlend()
478 …case BLENDEQUATION_ADD: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, srcColor.swizzle(0,1,2)*samp… in executeBlend()
479 …case BLENDEQUATION_SUBTRACT: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, srcColor.swizzle(0,1,2)*s… in executeBlend()
480 …ED_COLOR(blendedRGB, dstColor.swizzle(0,1,2)*sample.blendDstFactorRGB - srcColor.swizzle(0,1,2)*sa… in executeBlend()
481 …case BLENDEQUATION_MIN: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, min(srcColor.swizzle(0,1,2),… in executeBlend()
482 …case BLENDEQUATION_MAX: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, max(srcColor.swizzle(0,1,2),… in executeBlend()
489 …case BLENDEQUATION_ADD: SAMPLE_REGISTER_BLENDED_COLOR(blendedA, srcColor.w()*sample.blendSrcFa… in executeBlend()
490 …case BLENDEQUATION_SUBTRACT: SAMPLE_REGISTER_BLENDED_COLOR(blendedA, srcColor.w()*sample.blendSr… in executeBlend()
491 …_REGISTER_BLENDED_COLOR(blendedA, dstColor.w()*sample.blendDstFactorA - srcColor.w()*sample.blendS… in executeBlend()
492 …case BLENDEQUATION_MIN: SAMPLE_REGISTER_BLENDED_COLOR(blendedA, min(srcColor.w(), dstColor.w()… in executeBlend()
[all …]
/third_party/skia/src/gpu/effects/
DGrBlendFragmentProcessor.cpp154 SkPMColor4f srcColor = ConstantOutputForConstantInput(src, input); in constantOutputForConstantInput() local
157 return SkBlendMode_Apply(fMode, srcColor, dstColor); in constantOutputForConstantInput()
207 SkString srcColor = this->invokeChild(0, args); in onMakeProgramImpl() local
213 srcColor.c_str(), in onMakeProgramImpl()
/third_party/skia/third_party/externals/tint/test/bug/dawn/
D947.wgsl.expected.spvasm36 OpName %srcColor "srcColor"
191 %srcColor = OpVariable %_ptr_Function_v4float Function %12
207 OpStore %srcColor %126
208 %132 = OpLoad %v4float %srcColor
D947.wgsl.expected.wgsl40 var srcColor = textureSample(myTexture, mySampler, texcoord);
41 return srcColor;
D947.wgsl.expected.hlsl54 float4 srcColor = myTexture.Sample(mySampler, texcoord);
55 return srcColor;
D947.wgsl.expected.msl52 float4 srcColor = tint_symbol_6.sample(tint_symbol_7, texcoord);
53 return srcColor;
D947.wgsl59 var srcColor = textureSample(myTexture, mySampler, texcoord);
62 return srcColor;
D947.wgsl.expected.glsl91 vec4 srcColor = texture(myTexture, texcoord);
92 return srcColor;
/third_party/skia/src/gpu/glsl/
DGrGLSLShaderBuilder.cpp158 const char* srcColor, in appendColorGamutXform() argument
161 *out = srcColor; in appendColorGamutXform()
269 out->appendf("%s(%s)", colorXformFuncName.c_str(), srcColor); in appendColorGamutXform()
273 void GrGLSLShaderBuilder::appendColorGamutXform(const char* srcColor, in appendColorGamutXform() argument
276 this->appendColorGamutXform(&xform, srcColor, colorXformHelper); in appendColorGamutXform()
DGrGLSLBlend.cpp50 const char* srcColor, in AppendMode() argument
54 fsBuilder->codeAppendf("%s = %s(%s, %s);", outColor, BlendFuncName(mode), srcColor, dstColor); in AppendMode()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DPixelRoutine.cpp2125 Vector4f srcColor = src; in computeAdvancedBlendMode() local
2126 srcColor.x *= srcFactor.x; in computeAdvancedBlendMode()
2127 srcColor.y *= srcFactor.y; in computeAdvancedBlendMode()
2128 srcColor.z *= srcFactor.z; in computeAdvancedBlendMode()
2129 srcColor.w *= srcFactor.w; in computeAdvancedBlendMode()
2137 premultiply(srcColor); in computeAdvancedBlendMode()
2145 blendedColor.x = (srcColor.x * dstColor.x); in computeAdvancedBlendMode()
2146 blendedColor.y = (srcColor.y * dstColor.y); in computeAdvancedBlendMode()
2147 blendedColor.z = (srcColor.z * dstColor.z); in computeAdvancedBlendMode()
2150 blendedColor.x = srcColor.x + dstColor.x - (srcColor.x * dstColor.x); in computeAdvancedBlendMode()
[all …]
/third_party/skia/src/effects/
DSkLayerDrawLooper.cpp71 SkColor4f srcColor = src.getColor4f(); in ApplyInfo() local
76 srcColor.fA = dst->getColor4f().fA; in ApplyInfo()
79 dst->setColor4f(xferColor(srcColor, dst->getColor4f(), (SkBlendMode)info.fColorMode), in ApplyInfo()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
Dangletypes.cpp540 void BlendStateExt::setFactors(const GLenum srcColor, in setFactors() argument
545 mSrcColor = expandFactorValue(srcColor); in setFactors()
552 const GLenum srcColor, in setFactorsIndexed() argument
558 FactorStorage::SetValueIndexed(index, FromGLenum<BlendFactorType>(srcColor), &mSrcColor); in setFactorsIndexed()
604 DrawBufferMask BlendStateExt::compareFactors(const FactorStorage::Type srcColor, in compareFactors() argument
609 return FactorStorage::GetDiffMask(mSrcColor, srcColor) | in compareFactors()
/third_party/skia/src/gpu/
DGrColorSpaceXform.cpp57 SkColor4f GrColorSpaceXform::apply(const SkColor4f& srcColor) { in apply() argument
58 SkColor4f result = srcColor; in apply()

12