/external/skia/tests/sksl/shared/ |
D | SwizzleBoolConstants.metal | 17 bool4 v = bool4(bool(_uniforms.colorGreen.y)); 18 bool4 result; 19 result = bool4(v.x, true, true, true); 20 result = bool4(v.xy, false, true); 21 result = bool4(v.x, true, true, false); 22 result = bool4(false, v.y, true, true); 23 result = bool4(v.xyz, true); 24 result = bool4(v.xy, true, true); 25 result = bool4(v.x, false, v.z, true); 26 result = bool4(v.x, true, false, false); [all …]
|
/external/skia/resources/sksl/shared/ |
D | SwizzleBoolConstants.sksl | 4 bool4 v = bool4(colorGreen.g); 6 bool4 result; 7 result = bool4(v.x, true, true, true); 8 result = bool4(v.xy, false, true); 9 result = bool4(v.x1, true, false); 10 result = bool4(v.0y, true, true); 11 result = bool4(v.xyz, true); 12 result = bool4(v.xy1, true); 13 result = bool4(v.x0z, true); 14 result = bool4(v.x10, false); [all …]
|
D | VectorConstructors.sksl | 6 float4 v9, int2 v10, bool4 v11, float2 v12, float2 v13, float2 v14, bool2 v15, 26 bool4 v11 = bool4(bool2(true, false), true, false);
|
/external/deqp-deps/glslang/Test/ |
D | hlsl.comparison.vec.frag | 8 bool4 r00 = a == v04; 9 bool4 r01 = a != v04; 10 bool4 r02 = a < v04; 11 bool4 r03 = a > v04; 13 bool4 r10 = a == v01; 14 bool4 r11 = a != v01; 15 bool4 r12 = a < v01; 16 bool4 r13 = a > v01; 18 bool4 r20 = v01 == a; 19 bool4 r21 = v01 != a; [all …]
|
D | hlsl.logical.binary.vec.frag | 6 uniform bool4 b4a, b4b; 11 bool4 r00 = !b4a; 12 bool4 r01 = b4a && b4b; // vec, vec 13 bool4 r02 = b4a || b4b; // vec, vec 15 bool4 r10 = b1a && b4b; // scalar, vec 16 bool4 r11 = b1a || b4b; // scalar, vec 18 bool4 r20 = b4a && b1b; // vec, scalar 19 bool4 r21 = b4a || b1b; // vec, scalar
|
/external/skia/resources/sksl/dslfp/ |
D | GrDSLFPTest_Swizzle.fp | 40 bool4 b = bool4(true, true, true, true); 41 b = bool4(b.x, true, true, true); 42 b = bool4(b.xy, false, true); 43 b = bool4(b.x1, true, false); 44 b = bool4(b.0y, true, true); 45 b = bool4(b.xyz, true); 46 b = bool4(b.xy1, true); 47 b = bool4(b.x0z, true); 48 b = bool4(b.x10, false); 49 b = bool4(b.1yz, false); [all …]
|
/external/skia/resources/sksl/intrinsics/ |
D | Not.sksl | 5 bool4 input = bool4(inputH4); 6 bool4 expected = bool4(expectedH4); 7 const bool4 constVal = bool4(true, false, true, false);
|
D | All.sksl | 5 bool4 input = bool4(inputH4); 6 bool4 expected = bool4(expectedH4); 7 const bool4 constVal = bool4(true, true, false, true);
|
D | Any.sksl | 5 bool4 input = bool4(inputH4); 6 bool4 expected = bool4(expectedH4); 7 const bool4 constVal = bool4(false, false, true, false);
|
D | MixBool.sksl | 10 mix(intGreen.xyzw, intRed.xyzw, bool4(false)) == intGreen.xyzw && 14 mix(intGreen.xyzw, intRed.xyzw, bool4(true)) == intRed.xyzw && 18 mix(colorGreen.xyzw, colorRed.xyzw, bool4(false)) == colorGreen.xyzw && 22 mix(colorGreen.xyzw, colorRed.xyzw, bool4(true)) == colorRed.xyzw) ? colorGreen
|
D | LessThanEqual.sksl | 6 bool4 expectTTFF = lessThanEqual(half4(2, 2.25, 2.5, 2.75), half4(2.25)); 7 bool4 expectFFTT = lessThanEqual(int4_zero, int4(-100, -50, 0, 50));
|
D | GreaterThan.sksl | 6 bool4 expectFFTT = greaterThan(half4(1, 2, 2.5, 2.75), half4(2.25)); 7 bool4 expectTTFF = greaterThan(int4_zero, int4(-100, -50, 0, 50));
|
D | LessThan.sksl | 6 bool4 expectTTFF = lessThan(half4(1, 2, 2.5, 2.75), half4(2.25)); 7 bool4 expectFFTT = lessThan(int4_zero, int4(-50, 0, 50, 100));
|
D | NotEqual.sksl | 6 bool4 expectFFTT = notEqual(half4(3, 3, 3.25, 100), half4(3)); 7 bool4 expectTTFF = notEqual(int4_zero, int4(-100, -50, 0, 0));
|
/external/skia/tests/sksl/intrinsics/ |
D | Not.metal | 19 bool4 input = bool4(_uniforms.inputH4); 20 bool4 expected = bool4(_uniforms.expectedH4); 21 …= expected.xy)) && all(bool3(false, true, false) == expected.xyz)) && all(bool4(false, true, false…
|
D | All.metal | 19 bool4 input = bool4(_uniforms.inputH4); 20 bool4 expected = bool4(_uniforms.expectedH4);
|
D | Any.metal | 19 bool4 input = bool4(_uniforms.inputH4); 20 bool4 expected = bool4(_uniforms.expectedH4);
|
D | LessThan.metal | 21 bool4 expectTTFF = bool4(true, true, false, false); 22 bool4 expectFFTT = bool4(false, false, true, true);
|
D | GreaterThan.metal | 21 bool4 expectFFTT = bool4(false, false, true, true); 22 bool4 expectTTFF = bool4(true, true, false, false);
|
D | LessThanEqual.metal | 21 bool4 expectTTFF = bool4(true, true, false, false); 22 bool4 expectFFTT = bool4(false, false, true, true);
|
D | GreaterThanEqual.metal | 21 bool4 expectFFTT = bool4(false, false, true, true); 22 bool4 expectTTFF = bool4(true, true, false, false);
|
D | Equal.metal | 21 bool4 expectTTFF = bool4(true, true, false, false); 22 bool4 expectFFTT = bool4(false, false, true, true);
|
D | NotEqual.metal | 21 bool4 expectFFTT = bool4(false, false, true, true); 22 bool4 expectTTFF = bool4(true, true, false, false);
|
D | MixBool.metal | 22 …bool4(false)) == intGreen)) && mix(intGreen.x, intRed.x, true) == intRed.x) && all(mix(intGreen.xy…
|
/external/skia/resources/sksl/folding/ |
D | BoolFolding.sksl | 17 bool k = all(bool4(1 == 1, !false, 123 > 12, TRUE)); // all are true 19 bool m = any(bool4(true, 1 == 2, true, TRUE)); // three out of four are true 22 bool p = all(not(bool4(1 == 1, !false, 123 > 12, TRUE))); // none are true
|