Home
last modified time | relevance | path

Searched refs:int3 (Results 1 – 25 of 556) sorted by relevance

12345678910>>...23

/third_party/skia/third_party/externals/tint/test/expressions/swizzle/read/vec3/
Di32.wgsl.expected.msl5 int3 v;
9 int3 v = (*(tint_symbol)).v;
13 int2 xx = int3((*(tint_symbol)).v).xx;
14 int2 xy = int3((*(tint_symbol)).v).xy;
15 int2 xz = int3((*(tint_symbol)).v).xz;
16 int2 yx = int3((*(tint_symbol)).v).yx;
17 int2 yy = int3((*(tint_symbol)).v).yy;
18 int2 yz = int3((*(tint_symbol)).v).yz;
19 int2 zx = int3((*(tint_symbol)).v).zx;
20 int2 zy = int3((*(tint_symbol)).v).zy;
[all …]
Di32.wgsl.expected.hlsl7 int3 v;
13 int3 v = P.v;
26 int3 xxx = P.v.xxx;
27 int3 xxy = P.v.xxy;
28 int3 xxz = P.v.xxz;
29 int3 xyx = P.v.xyx;
30 int3 xyy = P.v.xyy;
31 int3 xyz = P.v.xyz;
32 int3 xzx = P.v.xzx;
33 int3 xzy = P.v.xzy;
[all …]
/third_party/skia/third_party/externals/tint/test/expressions/swizzle/read/packed_vec3/
Di32.wgsl.expected.msl10 int3 v = (*(tint_symbol)).v;
14 int2 xx = int3((*(tint_symbol)).v).xx;
15 int2 xy = int3((*(tint_symbol)).v).xy;
16 int2 xz = int3((*(tint_symbol)).v).xz;
17 int2 yx = int3((*(tint_symbol)).v).yx;
18 int2 yy = int3((*(tint_symbol)).v).yy;
19 int2 yz = int3((*(tint_symbol)).v).yz;
20 int2 zx = int3((*(tint_symbol)).v).zx;
21 int2 zy = int3((*(tint_symbol)).v).zy;
22 int2 zz = int3((*(tint_symbol)).v).zz;
[all …]
Di32.wgsl.expected.hlsl11 int3 v = asint(U[0].xyz);
24 int3 xxx = asint(U[0].xyz).xxx;
25 int3 xxy = asint(U[0].xyz).xxy;
26 int3 xxz = asint(U[0].xyz).xxz;
27 int3 xyx = asint(U[0].xyz).xyx;
28 int3 xyy = asint(U[0].xyz).xyy;
29 int3 xyz = asint(U[0].xyz).xyz;
30 int3 xzx = asint(U[0].xyz).xzx;
31 int3 xzy = asint(U[0].xyz).xzy;
32 int3 xzz = asint(U[0].xyz).xzz;
[all …]
/third_party/skia/resources/sksl/shared/
DArrayComparison.sksl12 int3 v1[2] = int3[2](int3(1, 2, 3), int3(4, 5, 6));
13 int3 v2[2] = int3[2](int3(1, 2, 3), int3(4, 5, 6));
14 int3 v3[2] = int3[2](int3(1, 2, 3), int3(4, 5, -6));
DArrayCast.sksl11 int3 i3[3] = int3[3](int3(1), int3(2), int3(3));
13 i3 = int3[3](s3);
/third_party/skia/third_party/externals/tint/test/types/
Dmodule_scope_var_conversions.wgsl.expected.msl15 thread bool3 tint_symbol_11 = bool3(int3(1));
19 thread int3 tint_symbol_15 = int3(uint3(1u));
20 thread int3 tint_symbol_16 = int3(float3(1.0f));
21 thread int3 tint_symbol_17 = int3(bool3(true));
22 thread uint3 tint_symbol_18 = uint3(int3(1));
39 tint_symbol_15 = int3();
40 tint_symbol_16 = int3();
41 tint_symbol_17 = int3();
Dmodule_scope_var_conversions.wgsl.expected.hlsl11 static bool3 v3bool_var2 = bool3(int3((1).xxx));
13 static int3 v3i32_var1 = int3(uint3((1u).xxx));
14 static int3 v3i32_var2 = int3(float3((1.0f).xxx));
15 static int3 v3i32_var3 = int3(bool3((true).xxx));
16 static uint3 v3u32_var1 = uint3(int3((1).xxx));
38 v3i32_var1 = int3(0, 0, 0);
39 v3i32_var2 = int3(0, 0, 0);
40 v3i32_var3 = int3(0, 0, 0);
Dfunction_scope_var_conversions.wgsl.expected.msl21 bool3 v3bool_var2 = bool3(int3(123));
23 int3 v3i32_var1 = int3(uint3(123u));
24 int3 v3i32_var2 = int3(float3(123.0f));
25 int3 v3i32_var3 = int3(bool3(true));
26 uint3 v3u32_var1 = uint3(int3(123));
Dfunction_scope_var_conversions.wgsl.expected.hlsl19 bool3 v3bool_var2 = bool3(int3((123).xxx));
21 int3 v3i32_var1 = int3(uint3((123u).xxx));
22 int3 v3i32_var2 = int3(float3((123.0f).xxx));
23 int3 v3i32_var3 = int3(bool3((true).xxx));
24 uint3 v3u32_var1 = uint3(int3((123).xxx));
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-hlsl-no-opt/comp/
Dbitfield.comp65 int3 spvBitfieldSExtract(int3 Base, int Offset, int Count)
68 int3 Masked = (Base >> Offset) & Mask;
85 int3 signed_values = int3(0, 0, 0);
97 int3 s_1 = spvBitfieldSExtract(signed_values, 5, 20);
99 s_1 = int3(spvBitfieldInsert(s_1, int3(40, 40, 40), 5, 4));
103 int3 v0_1 = int3(countbits(u_1));
104 int3 v1_1 = countbits(s_1);
105 int3 v2_1 = int3(firstbithigh(u_1));
106 int3 v3_1 = firstbitlow(s_1);
/third_party/skia/third_party/externals/tint/test/expressions/binary/add/vec3-vec3/
Di32.wgsl.expected.msl5 int3 const a = int3(1, 2, 3);
6 int3 const b = int3(4, 5, 6);
7 int3 const r = as_type<int3>((as_type<uint3>(a) + as_type<uint3>(b)));
Di32.wgsl.expected.hlsl3 const int3 a = int3(1, 2, 3);
4 const int3 b = int3(4, 5, 6);
5 const int3 r = (a + b);
/third_party/skia/third_party/externals/tint/test/expressions/binary/sub/vec3-vec3/
Di32.wgsl.expected.msl5 int3 const a = int3(1, 2, 3);
6 int3 const b = int3(4, 5, 6);
7 int3 const r = as_type<int3>((as_type<uint3>(a) - as_type<uint3>(b)));
Di32.wgsl.expected.hlsl3 const int3 a = int3(1, 2, 3);
4 const int3 b = int3(4, 5, 6);
5 const int3 r = (a - b);
/third_party/skia/third_party/externals/tint/test/expressions/binary/mul/vec3-vec3/
Di32.wgsl.expected.msl5 int3 const a = int3(1, 2, 3);
6 int3 const b = int3(4, 5, 6);
7 int3 const r = as_type<int3>((as_type<uint3>(a) * as_type<uint3>(b)));
Di32.wgsl.expected.hlsl3 const int3 a = int3(1, 2, 3);
4 const int3 b = int3(4, 5, 6);
5 const int3 r = (a * b);
/third_party/skia/tests/sksl/shared/
DArrayComparison.metal63 array<int3, 2> v1 = array<int3, 2>{int3(1, 2, 3), int3(4, 5, 6)};
64 array<int3, 2> v2 = array<int3, 2>{int3(1, 2, 3), int3(4, 5, 6)};
65 array<int3, 2> v3 = array<int3, 2>{int3(1, 2, 3), int3(4, 5, -6)};
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/comp/
Dimage-cube-array-load-store.comp10 …int2(int3(9, 7, 11).xy), uint(int3(9, 7, 11).z) % 6u, uint(int3(9, 7, 11).z) / 6u), uint2(int3(9, …
/third_party/skia/third_party/externals/tint/test/expressions/binary/bit-or/vec3-vec3/
Di32.wgsl.expected.hlsl3 const int3 a = int3(1, 2, 3);
4 const int3 b = int3(4, 5, 6);
5 const int3 r = (a | b);
/third_party/skia/third_party/externals/tint/test/expressions/binary/bit-xor/vec3-vec3/
Di32.wgsl.expected.hlsl3 const int3 a = int3(1, 2, 3);
4 const int3 b = int3(4, 5, 6);
5 const int3 r = (a ^ b);
/third_party/skia/third_party/externals/tint/test/expressions/binary/mod/vec3-vec3/
Di32.wgsl.expected.hlsl3 const int3 a = int3(1, 2, 3);
4 const int3 b = int3(4, 5, 6);
5 const int3 r = (a % b);
Di32.wgsl.expected.msl5 int3 const a = int3(1, 2, 3);
6 int3 const b = int3(4, 5, 6);
7 int3 const r = (a % b);
/third_party/skia/third_party/externals/tint/test/expressions/binary/bit-and/vec3-vec3/
Di32.wgsl.expected.hlsl3 const int3 a = int3(1, 2, 3);
4 const int3 b = int3(4, 5, 6);
5 const int3 r = (a & b);
/third_party/skia/third_party/externals/tint/test/expressions/binary/div/vec3-vec3/
Di32.wgsl.expected.hlsl3 const int3 a = int3(1, 2, 3);
4 const int3 b = int3(4, 5, 6);
5 const int3 r = (a / b);

12345678910>>...23