Home
last modified time | relevance | path

Searched refs:dstColor (Results 1 – 25 of 40) sorted by relevance

12

/third_party/skia/tests/
DDMSAATest.cpp107 SkPMColor4f dstColor = SkBlendMode_Apply(SkBlendMode::kSrcOver, kTransCyan, kTransYellow); variable
109 check_sdc_color(reporter, sdc.get(), dContext, dstColor);
129 SkPMColor4f dstColor = SK_PMColor4fWHITE; variable
132 dstColor = SkBlendMode_Apply(SkBlendMode::kDarken, kTransYellow, dstColor);
135 dstColor = SkBlendMode_Apply(SkBlendMode::kDarken, kTransCyan, dstColor);
137 check_sdc_color(reporter, sdc.get(), dContext, dstColor);
153 SkPMColor4f dstColor = SK_PMColor4fWHITE; variable
156 dstColor = SkBlendMode_Apply(SkBlendMode::kDarken, kTransYellow, dstColor);
160 dstColor = SkBlendMode_Apply(SkBlendMode::kDarken, kTransCyan, dstColor);
162 check_sdc_color(reporter, sdc.get(), dContext, dstColor);
[all …]
/third_party/skia/third_party/externals/tint/test/bug/tint/
D913.wgsl.expected.msl33 float4 const dstColor = tint_symbol_2.read(uint2(int2(dstTexCoord)), 0);
35 …success = ((success && aboutEqual(dstColor[0], srcColor[0])) && aboutEqual(dstColor[1], srcColor[1…
37 …aboutEqual(dstColor[0], srcColor[0])) && aboutEqual(dstColor[1], srcColor[1])) && aboutEqual(dstCo…
D913.wgsl.expected.wgsl42 let dstColor : vec4<f32> = textureLoad(dst, vec2<i32>(dstTexCoord), 0);
44 … success = ((success && aboutEqual(dstColor.r, srcColor.r)) && aboutEqual(dstColor.g, srcColor.g));
46 …&& aboutEqual(dstColor.r, srcColor.r)) && aboutEqual(dstColor.g, srcColor.g)) && aboutEqual(dstCol…
D913.wgsl.expected.glsl56 vec4 dstColor = texelFetch(dst, ivec2(dstTexCoord), 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.hlsl50 const float4 dstColor = tint_symbol.Load(int3(int2(dstTexCoord), 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.wgsl47 let dstColor : vec4<f32> = textureLoad(dst, vec2<i32>(dstTexCoord), 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.spvasm31 OpName %dstColor "dstColor"
114 %dstColor = OpVariable %_ptr_Function_v4float Function %64
151 OpStore %dstColor %65
153 %78 = OpLoad %v4float %dstColor
D534.wgsl.expected.wgsl35 var dstColor : vec4<f32> = textureLoad(dst, dstTexCoord, 0);
38 var dstColorBits : vec4<u32> = vec4<u32>(dstColor);
D534.wgsl.expected.glsl33 vec4 dstColor = texelFetch(dst, dstTexCoord, 0);
36 uvec4 dstColorBits = uvec4(dstColor);
D534.wgsl31 var dstColor : vec4<f32> = textureLoad(dst, dstTexCoord, 0);
35 var dstColorBits : vec4<u32> = vec4<u32>(dstColor);
D534.wgsl.expected.hlsl30 float4 dstColor = tint_symbol.Load(int3(dstTexCoord, 0));
33 uint4 dstColorBits = uint4(dstColor);
D534.wgsl.expected.msl26 float4 dstColor = tint_symbol_3.read(uint2(dstTexCoord), 0);
29 uint4 dstColorBits = uint4(dstColor);
/third_party/vk-gl-cts/framework/referencerenderer/
DrrFragmentOperations.cpp470 const Vec4& dstColor = sample.clampedBlendDstColor; \ in executeBlend()
478 …ED_COLOR(blendedRGB, srcColor.swizzle(0,1,2)*sample.blendSrcFactorRGB + dstColor.swizzle(0,1,2)*sa… in executeBlend()
479 …ED_COLOR(blendedRGB, srcColor.swizzle(0,1,2)*sample.blendSrcFactorRGB - dstColor.swizzle(0,1,2)*sa… in executeBlend()
480 …case BLENDEQUATION_REVERSE_SUBTRACT: SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, dstColor.swizzle(0,… in executeBlend()
481 … SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, min(srcColor.swizzle(0,1,2), dstColor.swizzle(0,1,2))) … in executeBlend()
482 … SAMPLE_REGISTER_BLENDED_COLOR(blendedRGB, max(srcColor.swizzle(0,1,2), dstColor.swizzle(0,1,2))) … in executeBlend()
489 …_REGISTER_BLENDED_COLOR(blendedA, srcColor.w()*sample.blendSrcFactorA + dstColor.w()*sample.blendD… in executeBlend()
490 …_REGISTER_BLENDED_COLOR(blendedA, srcColor.w()*sample.blendSrcFactorA - dstColor.w()*sample.blendD… in executeBlend()
491 …case BLENDEQUATION_REVERSE_SUBTRACT: SAMPLE_REGISTER_BLENDED_COLOR(blendedA, dstColor.w()*sample.b… in executeBlend()
492 …case BLENDEQUATION_MIN: SAMPLE_REGISTER_BLENDED_COLOR(blendedA, min(srcColor.w(), dstColor.w()… in executeBlend()
[all …]
/third_party/skia/src/gpu/
DGrXferProcessor.cpp216 const char* dstColor = fragBuilder->dstColor(); in emitCode() local
251 dstColor, in emitCode()
288 const char* dstColor, in DefaultCoverageModulation() argument
295 dstColor, in DefaultCoverageModulation()
304 dstColor); in DefaultCoverageModulation()
DGrXferProcessor.h343 const char* dstColor, in GR_MAKE_BITFIELD_CLASS_OPS()
367 const char* dstColor, in GR_MAKE_BITFIELD_CLASS_OPS()
/third_party/skia/src/gpu/glsl/
DGrGLSLFragmentShaderBuilder.h45 virtual const char* dstColor() = 0;
72 virtual const char* dstColor() = 0; in GR_MAKE_BITFIELD_CLASS_OPS()
88 const char* dstColor() override;
DGrGLSLProgramBuilder.cpp321 const char* dstColor = fFS.dstColor(); in emitAndInstallDstTexture() local
322 SkString dstColorDecl = SkStringPrintf("half4 %s;", dstColor); in emitAndInstallDstTexture()
324 fFS.codeAppendf("%s = ", dstColor); in emitAndInstallDstTexture()
338 const char* dstColor = fFS.dstColor(); in emitAndInstallDstTexture() local
339 SkString dstColorDecl = SkStringPrintf("half4 %s;", dstColor); in emitAndInstallDstTexture()
341 fFS.codeAppendf("%s = ", dstColor); in emitAndInstallDstTexture()
DGrGLSLBlend.cpp51 const char* dstColor, in AppendMode() argument
54 fsBuilder->codeAppendf("%s = %s(%s, %s);", outColor, BlendFuncName(mode), srcColor, dstColor); in AppendMode()
DGrGLSLBlend.h27 const char* dstColor,
/third_party/skia/src/gpu/effects/
DGrBlendFragmentProcessor.cpp155 SkPMColor4f dstColor = ConstantOutputForConstantInput(dst, input); in constantOutputForConstantInput() local
157 return SkBlendMode_Apply(fMode, srcColor, dstColor); in constantOutputForConstantInput()
208 SkString dstColor = this->invokeChild(1, args); in onMakeProgramImpl() local
214 dstColor.c_str()); in onMakeProgramImpl()
DGrCustomXfermode.cpp142 const char* dstColor, in makeProgramImpl() argument
149 GrGLSLBlend::AppendMode(fragBuilder, srcColor, dstColor, outColor, xp.fMode); in makeProgramImpl()
154 dstColor, in makeProgramImpl()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DPixelRoutine.cpp2131 Vector4f dstColor = dst; in computeAdvancedBlendMode() local
2132 dstColor.x *= dstFactor.x; in computeAdvancedBlendMode()
2133 dstColor.y *= dstFactor.y; in computeAdvancedBlendMode()
2134 dstColor.z *= dstFactor.z; in computeAdvancedBlendMode()
2135 dstColor.w *= dstFactor.w; in computeAdvancedBlendMode()
2138 premultiply(dstColor); 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/third_party/externals/angle2/src/tests/gl_tests/
DCopyTexImageTest.cpp739 GLTexture dstColor; in TEST_P() local
740 glBindTexture(GL_TEXTURE_2D, dstColor); in TEST_P()
753 verifyResults(dstColor, kExpected.data(), kTexSize, 0, 0, kTexSize / 2, kTexSize / 2); in TEST_P()
763 verifyResults(dstColor, kExpected.data(), kTexSize, kTexSize / 2, kTexSize / 2, kTexSize, in TEST_P()
789 GLTexture dstColor; in TEST_P() local
790 glBindTexture(GL_TEXTURE_2D, dstColor); in TEST_P()
807 verifyResults(dstColor, kExpected.data(), kTexSize, 0, 0, kTexSize / 2, kTexSize / 2); in TEST_P()
817 verifyResults(dstColor, kExpected.data(), kTexSize, kTexSize / 2, kTexSize / 2, kTexSize, in TEST_P()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
Dangletypes.cpp541 const GLenum dstColor, in setFactors() argument
546 mDstColor = expandFactorValue(dstColor); in setFactors()
553 const GLenum dstColor, in setFactorsIndexed() argument
559 FactorStorage::SetValueIndexed(index, FromGLenum<BlendFactorType>(dstColor), &mDstColor); in setFactorsIndexed()
605 const FactorStorage::Type dstColor, in compareFactors() argument
610 FactorStorage::GetDiffMask(mDstColor, dstColor) | in compareFactors()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineBlendOperationAdvancedTests.cpp750 Vec3 dstColor = destination.xyz(); in calculateFinalColor() local
776 dstColor = dstColor / destination.w(); in calculateFinalColor()
778 dstColor = Vec3(0.0f, 0.0f, 0.0f); in calculateFinalColor()
784 Vec3 fSrcDst = calculateFFunction(op, srcColor, dstColor); in calculateFinalColor()
786 …result.x() = fSrcDst.x() * p.x() + xyz.y() * srcColor.x() * p.y() + xyz.z() * dstColor.x() * p.z(); in calculateFinalColor()
787 …result.y() = fSrcDst.y() * p.x() + xyz.y() * srcColor.y() * p.y() + xyz.z() * dstColor.y() * p.z(); in calculateFinalColor()
788 …result.z() = fSrcDst.z() * p.x() + xyz.y() * srcColor.z() * p.y() + xyz.z() * dstColor.z() * p.z(); in calculateFinalColor()
802 dstColor = dstColor * destination.w(); in calculateFinalColor()
807 Vec4 dst = Vec4(dstColor.x(), dstColor.y(), dstColor.z(), destination.w()); in calculateFinalColor()

12