/external/skia/tests/sksl/intrinsics/ |
D | MinFloat.glsl | 8 vec4 expectedB = vec4(-1.25, 0.0, 0.0, 1.0); 9 …expectedB.x) && min(testInputs.xy, colorGreen.xy) == expectedB.xy) && min(testInputs.xyz, colorGre…
|
D | MaxFloat.glsl | 8 vec4 expectedB = vec4(0.0, 1.0, 0.75, 2.25); 9 …expectedB.x) && max(testInputs.xy, colorGreen.xy) == expectedB.xy) && max(testInputs.xyz, colorGre…
|
D | MinInt.glsl | 10 ivec4 expectedB = ivec4(-125, 0, 0, 100); 11 …expectedB.x) && min(intValues.xy, intGreen.xy) == expectedB.xy) && min(intValues.xyz, intGreen.xyz…
|
D | MaxInt.glsl | 10 ivec4 expectedB = ivec4(0, 100, 75, 225); 11 …expectedB.x) && max(intValues.xy, intGreen.xy) == expectedB.xy) && max(intValues.xyz, intGreen.xyz…
|
D | ClampFloat.glsl | 9 vec4 expectedB = vec4(-1.0, 0.0, 0.5, 2.25); 11 …expectedB.x) && clamp(testInputs.xy, clampLow.xy, clampHigh.xy) == expectedB.xy) && clamp(testInpu…
|
D | ClampInt.glsl | 10 ivec4 expectedB = ivec4(-100, 0, 50, 225); 12 …expectedB.x) && clamp(intValues.xy, clampLow.xy, clampHigh.xy) == expectedB.xy) && clamp(intValues…
|
D | MinFloat.metal | 19 float4 expectedB = float4(-1.25, 0.0, 0.0, 1.0); 20 …expectedB.x) && all(min(_uniforms.testInputs.xy, _uniforms.colorGreen.xy) == expectedB.xy)) && all…
|
D | MaxInt.metal | 21 int4 expectedB = int4(0, 100, 75, 225); 22 …expectedB.x) && all(max(intValues.xy, intGreen.xy) == expectedB.xy)) && all(max(intValues.xyz, int…
|
D | MaxFloat.metal | 19 float4 expectedB = float4(0.0, 1.0, 0.75, 2.25); 20 …expectedB.x) && all(max(_uniforms.testInputs.xy, _uniforms.colorGreen.xy) == expectedB.xy)) && all…
|
D | MinInt.metal | 21 int4 expectedB = int4(-125, 0, 0, 100); 22 …expectedB.x) && all(min(intValues.xy, intGreen.xy) == expectedB.xy)) && all(min(intValues.xyz, int…
|
D | ClampInt.metal | 21 int4 expectedB = int4(-100, 0, 50, 225); 23 …expectedB.x) && all(clamp(intValues.xy, clampLow.xy, clampHigh.xy) == expectedB.xy)) && all(clamp(…
|
D | ClampFloat.metal | 20 float4 expectedB = float4(-1.0, 0.0, 0.5, 2.25); 22 …expectedB.x) && all(clamp(_uniforms.testInputs.xy, clampLow.xy, clampHigh.xy) == expectedB.xy)) &&…
|
D | MaxFloat.asm.frag | 15 OpName %expectedB "expectedB" 31 OpDecorate %expectedB RelaxedPrecision 120 %expectedB = OpVariable %_ptr_Function_v4float Function 123 OpStore %expectedB %34 184 %94 = OpLoad %v4float %expectedB 200 %107 = OpLoad %v4float %expectedB 217 %121 = OpLoad %v4float %expectedB 232 %133 = OpLoad %v4float %expectedB
|
D | MinFloat.asm.frag | 15 OpName %expectedB "expectedB" 31 OpDecorate %expectedB RelaxedPrecision 119 %expectedB = OpVariable %_ptr_Function_v4float Function 122 OpStore %expectedB %33 183 %93 = OpLoad %v4float %expectedB 199 %106 = OpLoad %v4float %expectedB 216 %120 = OpLoad %v4float %expectedB 231 %132 = OpLoad %v4float %expectedB
|
D | MaxInt.asm.frag | 17 OpName %expectedB "expectedB" 98 %expectedB = OpVariable %_ptr_Function_v4int Function 127 OpStore %expectedB %66 182 %117 = OpLoad %v4int %expectedB 196 %128 = OpLoad %v4int %expectedB 211 %140 = OpLoad %v4int %expectedB 224 %150 = OpLoad %v4int %expectedB
|
D | MinInt.asm.frag | 17 OpName %expectedB "expectedB" 97 %expectedB = OpVariable %_ptr_Function_v4int Function 126 OpStore %expectedB %65 181 %116 = OpLoad %v4int %expectedB 195 %127 = OpLoad %v4int %expectedB 210 %139 = OpLoad %v4int %expectedB 223 %149 = OpLoad %v4int %expectedB
|
D | ClampFloat.asm.frag | 16 OpName %expectedB "expectedB" 35 OpDecorate %expectedB RelaxedPrecision 143 %expectedB = OpVariable %_ptr_Function_v4float Function 148 OpStore %expectedB %38 214 %105 = OpLoad %v4float %expectedB 231 %119 = OpLoad %v4float %expectedB 249 %134 = OpLoad %v4float %expectedB 264 %146 = OpLoad %v4float %expectedB
|
D | ClampInt.asm.frag | 17 OpName %expectedB "expectedB" 99 %expectedB = OpVariable %_ptr_Function_v4int Function 117 OpStore %expectedB %56 178 %116 = OpLoad %v4int %expectedB 194 %129 = OpLoad %v4int %expectedB 211 %143 = OpLoad %v4int %expectedB 225 %154 = OpLoad %v4int %expectedB
|
/external/skia/resources/sksl/intrinsics/ |
D | MaxFloat.sksl | 6 half4 expectedB = half4(0, 1, 0.75, 2.25); 11 max(testInputs.x, colorGreen.x) == expectedB.x && 12 max(testInputs.xy, colorGreen.xy) == expectedB.xy && 13 max(testInputs.xyz, colorGreen.xyz) == expectedB.xyz && 14 max(testInputs.xyzw, colorGreen.xyzw) == expectedB.xyzw) ? colorGreen : colorRed;
|
D | MinFloat.sksl | 6 half4 expectedB = half4(-1.25, 0, 0, 1); 11 min(testInputs.x, colorGreen.x) == expectedB.x && 12 min(testInputs.xy, colorGreen.xy) == expectedB.xy && 13 min(testInputs.xyz, colorGreen.xyz) == expectedB.xyz && 14 min(testInputs.xyzw, colorGreen.xyzw) == expectedB.xyzw) ? colorGreen : colorRed;
|
D | MaxInt.sksl | 9 int4 expectedB = int4(0, 100, 75, 225); 14 max(intValues.x, intGreen.x) == expectedB.x && 15 max(intValues.xy, intGreen.xy) == expectedB.xy && 16 max(intValues.xyz, intGreen.xyz) == expectedB.xyz && 17 max(intValues.xyzw, intGreen.xyzw) == expectedB.xyzw) ? colorGreen : colorRed;
|
D | MinInt.sksl | 9 int4 expectedB = int4(-125, 0, 0, 100); 14 min(intValues.x, intGreen.x) == expectedB.x && 15 min(intValues.xy, intGreen.xy) == expectedB.xy && 16 min(intValues.xyz, intGreen.xyz) == expectedB.xyz && 17 min(intValues.xyzw, intGreen.xyzw) == expectedB.xyzw) ? colorGreen : colorRed;
|
D | ClampFloat.sksl | 10 half4 expectedB = half4(-1, 0, 0.5, 2.25); 17 clamp(testInputs.x, clampLow.x, clampHigh.x ) == expectedB.x && 18 clamp(testInputs.xy, clampLow.xy, clampHigh.xy ) == expectedB.xy && 19 clamp(testInputs.xyz, clampLow.xyz, clampHigh.xyz ) == expectedB.xyz && 20 clamp(testInputs.xyzw, clampLow.xyzw, clampHigh.xyzw) == expectedB.xyzw) ? colorGreen
|
D | ClampInt.sksl | 11 int4 expectedB = int4(-100, 0, 50, 225); 18 clamp(intValues.x, clampLow.x, clampHigh.x ) == expectedB.x && 19 clamp(intValues.xy, clampLow.xy, clampHigh.xy ) == expectedB.xy && 20 clamp(intValues.xyz, clampLow.xyz, clampHigh.xyz ) == expectedB.xyz && 21 clamp(intValues.xyzw, clampLow.xyzw, clampHigh.xyzw) == expectedB.xyzw) ? colorGreen
|
/external/skia/tests/ |
D | VkYcbcrSamplerTest.cpp | 98 int expectedB = round_and_clamp((yChannel + 1.8556f * uChannel) * 255.0); in DEF_GPUTEST() local 111 if (abs(b - expectedB) > kColorTolerance) { in DEF_GPUTEST() 112 ERRORF(reporter, "B should be %d, but is %d at (%d, %d)", expectedB, b, x, y); in DEF_GPUTEST()
|