Home
last modified time | relevance | path

Searched refs:bool2 (Results 1 – 25 of 46) sorted by relevance

12

/external/skia/resources/sksl/errors/
DBooleanArithmetic.sksl1 bool2 add_boolean() { return false + true; }
2 bool2 sub_boolean() { return false - true; }
3 bool2 mul_boolean() { return false * true; }
4 bool2 div_boolean() { return false / true; }
5 bool2 mod_boolean() { return false % true; }
6 bool2 shl_boolean() { return false << true; }
7 bool2 shr_boolean() { return false >> true; }
8 bool2 neg_boolean() { return -false; }
9 bool2 bitnot_boolean() { return ~false; }
10 bool2 bitand_boolean() { return false & true; }
[all …]
DOssfuzz32851.sksl1 int v=6/int2(bool2(0));
DRedeclareVariable.sksl6 bool2 x[2];
/external/skia/tests/sksl/errors/
DBooleanArithmetic.glsl15 error: 14: type mismatch: '+' cannot operate on 'bool2', 'bool2'
16 error: 15: type mismatch: '-' cannot operate on 'bool2', 'bool2'
17 error: 16: type mismatch: '*' cannot operate on 'bool2', 'bool2'
18 error: 17: type mismatch: '/' cannot operate on 'bool2', 'bool2'
19 error: 18: type mismatch: '%' cannot operate on 'bool2', 'bool2'
20 error: 19: type mismatch: '<<' cannot operate on 'bool2', 'bool2'
21 error: 20: type mismatch: '>>' cannot operate on 'bool2', 'bool2'
22 error: 21: '!' cannot operate on 'bool2'
23 error: 22: '-' cannot operate on 'bool2'
24 error: 23: '~' cannot operate on 'bool2'
[all …]
/external/skia/resources/sksl/shared/
DVectorConstructors.sksl6 float4 v9, int2 v10, bool4 v11, float2 v12, float2 v13, float2 v14, bool2 v15,
7 bool2 v16, bool3 v17) {
26 bool4 v11 = bool4(bool2(true, false), true, false);
29 float2 v14 = float2(bool2(false));
30 bool2 v15 = bool2(1.0);
31 bool2 v16 = bool2(float2(1));
DFunctionReturnTypeMatch.sksl18 bool2 returns_bool2() { return bool2(true); }
42 bool2 x16 = returns_bool2();
DOutParams.sksl27 void out_bool2(out bool2 v) { v = bool2(colorWhite.g); }
69 bool2 b2; out_bool2(b2);
DOutParamsNoInline.sksl29 void out_bool2(out bool2 v) { v = bool2(colorWhite.g); }
71 bool2 b2; out_bool2(b2);
DFunctionArgTypeMatch.sksl18 bool takes_bool2 (bool2 x) { return true; }
42 takes_bool2 (bool2 (true)) &&
/external/skia/tests/sksl/shared/
DVectorConstructors.metal14 …float4 v9, int2 v10, bool4 v11, float2 v12, float2 v13, float2 v14, bool2 v15, bool2 v16, bool3 v1…
34 bool2 v15 = bool2(true);
35 bool2 v16 = bool2(true);
36 bool3 v17 = bool3(true, bool2(true));
DFunctionReturnTypeMatch.metal80 bool2 returns_bool2_b2() {
81 return bool2(true);
119 bool2 x16 = bool2(true);
DOutParams.metal194 void out_bool2_vb2(Uniforms _uniforms, thread bool2& v);
195 void _skOutParamHelper30_out_bool2_vb2(Uniforms _uniforms, thread bool2& b2) {
196 bool2 _var0;
212 void out_bool2_vb2(Uniforms _uniforms, thread bool2& v);
214 bool2 _var0;
282 void out_bool2_vb2(Uniforms _uniforms, thread bool2& v) {
283 v = bool2(bool(_uniforms.colorWhite.y));
343 bool2 b2;
DOutParamsNoInline.metal194 void out_bool2_vb2(Uniforms _uniforms, thread bool2& v);
195 void _skOutParamHelper30_out_bool2_vb2(Uniforms _uniforms, thread bool2& b2) {
196 bool2 _var0;
212 void out_bool2_vb2(Uniforms _uniforms, thread bool2& v);
214 bool2 _var0;
282 void out_bool2_vb2(Uniforms _uniforms, thread bool2& v) {
283 v = bool2(bool(_uniforms.colorWhite.y));
343 bool2 b2;
DFunctionArgTypeMatch.metal56 bool takes_bool2_bb2(bool2 x) {
80 …s_half4x4_bh44(float4x4(4.0))) && takes_bool_bb(true)) && takes_bool2_bb2(bool2(true))) && takes_b…
/external/eigen/unsupported/test/
Dcxx11_tensor_expr.cpp209 Tensor<bool, 1> bool2 = vec.cast<bool>() && vec < vec.constant(4); in test_boolean() local
210 VERIFY_IS_EQUAL(bool2[0], false); in test_boolean()
211 VERIFY_IS_EQUAL(bool2[1], true); in test_boolean()
212 VERIFY_IS_EQUAL(bool2[2], true); in test_boolean()
213 VERIFY_IS_EQUAL(bool2[3], true); in test_boolean()
214 VERIFY_IS_EQUAL(bool2[4], false); in test_boolean()
215 VERIFY_IS_EQUAL(bool2[5], false); in test_boolean()
221 Tensor<bool, 1> bool3 = vec.cast<bool>() && bool2; in test_boolean()
222 bool3 = vec < vec.constant(4) && bool2; in test_boolean()
/external/skia/resources/sksl/intrinsics/
DMixBool.sksl8 mix(intGreen.xy, intRed.xy, bool2(false)) == intGreen.xy &&
12 mix(intGreen.xy, intRed.xy, bool2(true)) == intRed.xy &&
16 mix(colorGreen.xy, colorRed.xy, bool2(false)) == colorGreen.xy &&
20 mix(colorGreen.xy, colorRed.xy, bool2(true)) == colorRed.xy &&
/external/skia/tests/sksl/intrinsics/
DMixBool.metal22bool2(false)) == intGreen.xy)) && all(mix(intGreen.xyz, intRed.xyz, bool3(false)) == intGreen.xyz)…
/external/llvm-project/llvm/test/CodeGen/Mips/micromips-sizereduction/
Dmicromips-xor16.ll12 %bool2 = icmp eq i32 %bool1.ext, %reg2
13 ret i1 %bool2
/external/skia/tests/sksl/metal/
DOutParams.metal229 void out_bool2_vb2(thread bool2& v);
230 void _skOutParamHelper35_out_bool2_vb2(thread bool2& b2) {
231 bool2 _var0;
247 void out_bool2_vb2(thread bool2& v);
249 bool2 _var0;
316 void out_bool2_vb2(thread bool2& v) {
317 v = bool2(false);
392 bool2 b2;
/external/deqp-deps/glslang/Test/
Dhlsl.conditional.frag21 float2 fbSelect(bool2 cnd, float2 src0, float2 src1)
41 float4(fbSelect(bool2(true, false), float2(1.0, 2.0), float2(3.0, 4.0)), 10.0, 10.0);
/external/skia/resources/sksl/folding/
DBoolFolding.sksl20 bool n = any(bool2(0 == 1, FALSE)); // none are true
21 bool o = any(not(bool2(0 == 1, FALSE))); // all true
/external/skia/resources/sksl/fp/
DGrFunctionArgTypes.fp8 bool takes_bool (bool b, bool2 b2, bool3 b3, bool4 b4) { return true; }
16 takes_bool(true, bool2(true), bool3(true), bool4(true)) &&
DGrFunctionReturnTypes.fp19 bool2 returns_bool2() { return bool2(true); }
/external/llvm-project/llvm/test/CodeGen/PowerPC/
Dtail-dup-analyzable-fallthrough.ll16 define void @__fmax_double3_3D_exec(<2 x double>* %input6, i1 %bool1, i1 %bool2) #0 {
25 br i1 %bool2, label %if.then, label %do.end
/external/libchrome/ipc/
Dipc_sync_message_unittest.cc251 bool bool2 = true; in TEST() local
252 Send(new Msg_C_3_4(true, 3, "3_4", &int1, &bool1, &string1, &bool2)); in TEST()
256 DCHECK(!bool2); in TEST()

12