Home
last modified time | relevance | path

Searched refs:bool4 (Results 1 – 25 of 63) sorted by relevance

123

/external/skia/tests/sksl/shared/
DSwizzleBoolConstants.metal17 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/
DSwizzleBoolConstants.sksl4 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 …]
DVectorConstructors.sksl6 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/
Dhlsl.comparison.vec.frag8 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 …]
Dhlsl.logical.binary.vec.frag6 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/
DGrDSLFPTest_Swizzle.fp40 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/
DNot.sksl5 bool4 input = bool4(inputH4);
6 bool4 expected = bool4(expectedH4);
7 const bool4 constVal = bool4(true, false, true, false);
DAll.sksl5 bool4 input = bool4(inputH4);
6 bool4 expected = bool4(expectedH4);
7 const bool4 constVal = bool4(true, true, false, true);
DAny.sksl5 bool4 input = bool4(inputH4);
6 bool4 expected = bool4(expectedH4);
7 const bool4 constVal = bool4(false, false, true, false);
DMixBool.sksl10 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
DLessThanEqual.sksl6 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));
DGreaterThan.sksl6 bool4 expectFFTT = greaterThan(half4(1, 2, 2.5, 2.75), half4(2.25));
7 bool4 expectTTFF = greaterThan(int4_zero, int4(-100, -50, 0, 50));
DLessThan.sksl6 bool4 expectTTFF = lessThan(half4(1, 2, 2.5, 2.75), half4(2.25));
7 bool4 expectFFTT = lessThan(int4_zero, int4(-50, 0, 50, 100));
DNotEqual.sksl6 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/
DNot.metal19 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…
DAll.metal19 bool4 input = bool4(_uniforms.inputH4);
20 bool4 expected = bool4(_uniforms.expectedH4);
DAny.metal19 bool4 input = bool4(_uniforms.inputH4);
20 bool4 expected = bool4(_uniforms.expectedH4);
DLessThan.metal21 bool4 expectTTFF = bool4(true, true, false, false);
22 bool4 expectFFTT = bool4(false, false, true, true);
DGreaterThan.metal21 bool4 expectFFTT = bool4(false, false, true, true);
22 bool4 expectTTFF = bool4(true, true, false, false);
DLessThanEqual.metal21 bool4 expectTTFF = bool4(true, true, false, false);
22 bool4 expectFFTT = bool4(false, false, true, true);
DGreaterThanEqual.metal21 bool4 expectFFTT = bool4(false, false, true, true);
22 bool4 expectTTFF = bool4(true, true, false, false);
DEqual.metal21 bool4 expectTTFF = bool4(true, true, false, false);
22 bool4 expectFFTT = bool4(false, false, true, true);
DNotEqual.metal21 bool4 expectFFTT = bool4(false, false, true, true);
22 bool4 expectTTFF = bool4(true, true, false, false);
DMixBool.metal22bool4(false)) == intGreen)) && mix(intGreen.x, intRed.x, true) == intRed.x) && all(mix(intGreen.xy…
/external/skia/resources/sksl/folding/
DBoolFolding.sksl17 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

123