Home
last modified time | relevance | path

Searched refs:maxComp (Results 1 – 21 of 21) sorted by relevance

/third_party/skia/tests/sksl/blend/
DBlendColorStandaloneSettings.glsl9 float maxComp = max(max(result.x, result.y), result.z);
13 if (maxComp > alpha && maxComp != lum) {
14 return lum + ((result - lum) * (alpha - lum)) / (maxComp - lum);
DBlendLuminosity.glsl9 float maxComp = max(max(result.x, result.y), result.z);
13 if (maxComp > alpha && maxComp != lum) {
14 return lum + ((result - lum) * (alpha - lum)) / (maxComp - lum);
DBlendColor.glsl9 float maxComp = max(max(result.x, result.y), result.z);
13 if (maxComp > alpha && maxComp != lum) {
14 return lum + ((result - lum) * (alpha - lum)) / (maxComp - lum);
DBlendLuminosityStandaloneSettings.glsl9 float maxComp = max(max(result.x, result.y), result.z);
13 if (maxComp > alpha && maxComp != lum) {
14 return lum + ((result - lum) * (alpha - lum)) / (maxComp - lum);
DBlendColor.metal17 half maxComp = max(max(result.x, result.y), result.z);
21 if (maxComp > alpha && maxComp != lum) {
22 return lum + ((result - lum) * (alpha - lum)) / (maxComp - lum);
DBlendLuminosity.metal17 half maxComp = max(max(result.x, result.y), result.z);
21 if (maxComp > alpha && maxComp != lum) {
22 return lum + ((result - lum) * (alpha - lum)) / (maxComp - lum);
DBlendSaturationStandaloneSettings.glsl9 float maxComp = max(max(result.x, result.y), result.z);
13 if (maxComp > alpha && maxComp != lum) {
14 return lum + ((result - lum) * (alpha - lum)) / (maxComp - lum);
DBlendHue.glsl9 float maxComp = max(max(result.x, result.y), result.z);
13 if (maxComp > alpha && maxComp != lum) {
14 return lum + ((result - lum) * (alpha - lum)) / (maxComp - lum);
DBlendHueStandaloneSettings.glsl9 float maxComp = max(max(result.x, result.y), result.z);
13 if (maxComp > alpha && maxComp != lum) {
14 return lum + ((result - lum) * (alpha - lum)) / (maxComp - lum);
DBlendSaturation.glsl9 float maxComp = max(max(result.x, result.y), result.z);
13 if (maxComp > alpha && maxComp != lum) {
14 return lum + ((result - lum) * (alpha - lum)) / (maxComp - lum);
DBlendLuminosity.asm.frag15 OpName %maxComp "maxComp"
50 OpDecorate %maxComp RelaxedPrecision
171 %maxComp = OpVariable %_ptr_Function_float Function
200 OpStore %maxComp %47
231 %80 = OpLoad %float %maxComp
237 %85 = OpLoad %float %maxComp
255 %101 = OpLoad %float %maxComp
DBlendColor.asm.frag15 OpName %maxComp "maxComp"
50 OpDecorate %maxComp RelaxedPrecision
171 %maxComp = OpVariable %_ptr_Function_float Function
200 OpStore %maxComp %47
231 %80 = OpLoad %float %maxComp
237 %85 = OpLoad %float %maxComp
255 %101 = OpLoad %float %maxComp
DBlendSaturation.metal17 half maxComp = max(max(result.x, result.y), result.z);
21 if (maxComp > alpha && maxComp != lum) {
22 return lum + ((result - lum) * (alpha - lum)) / (maxComp - lum);
DBlendHue.metal17 half maxComp = max(max(result.x, result.y), result.z);
21 if (maxComp > alpha && maxComp != lum) {
22 return lum + ((result - lum) * (alpha - lum)) / (maxComp - lum);
DBlendSaturation.asm.frag15 OpName %maxComp "maxComp"
53 OpDecorate %maxComp RelaxedPrecision
254 %maxComp = OpVariable %_ptr_Function_float Function
283 OpStore %maxComp %49
314 %82 = OpLoad %float %maxComp
320 %87 = OpLoad %float %maxComp
338 %103 = OpLoad %float %maxComp
DBlendHue.asm.frag15 OpName %maxComp "maxComp"
53 OpDecorate %maxComp RelaxedPrecision
254 %maxComp = OpVariable %_ptr_Function_float Function
283 OpStore %maxComp %49
314 %82 = OpLoad %float %maxComp
320 %87 = OpLoad %float %maxComp
338 %103 = OpLoad %float %maxComp
/third_party/skia/tests/sksl/inliner/
DInlinerCanBeDisabledStandaloneSettings.glsl8 float maxComp = max(max(result.x, result.y), result.z);
12 if (maxComp > alpha && maxComp != lum) {
13 return lum + ((result - lum) * (alpha - lum)) / (maxComp - lum);
DInlinerCanBeDisabled.glsl14 float maxComp = max(max(result.x, result.y), result.z);
18 if (maxComp > alpha && maxComp != lum) {
19 return lum + ((result - lum) * (alpha - lum)) / (maxComp - lum);
/third_party/skia/src/sksl/
Dsksl_gpu.sksl422 half maxComp = max(max(result.r, result.g), result.b);
426 if (maxComp > alpha && maxComp != lum) {
427 return lum + _guarded_divide((result - lum) * (alpha - lum), (maxComp - lum));
/third_party/vk-gl-cts/framework/referencerenderer/
DrrFragmentOperations.cpp561 inline float maxComp (const Vec3& v) in maxComp() function
573 return maxComp(rgb) - minComp(rgb); in saturation()
583 const float maxC = maxComp(color); in setLum()
/third_party/vk-gl-cts/framework/common/
DtcuTexLookupVerifier.cpp131 static T maxComp (const Vector<T, Size>& vec) in maxComp() function