Home
last modified time | relevance | path

Searched refs:mat2 (Results 1 – 25 of 313) sorted by relevance

12345678910>>...13

/third_party/skia/third_party/externals/tint/test/var/uses/
Dmany_workgroup_vars.wgsl.expected.glsl4 shared mat2 m00;
5 shared mat2 m01;
6 shared mat2 m02;
7 shared mat2 m03;
8 shared mat2 m04;
9 shared mat2 m05;
10 shared mat2 m06;
11 shared mat2 m07;
12 shared mat2 m08;
13 shared mat2 m09;
[all …]
/third_party/skia/tests/sksl/shared/
DMatrices.glsl7 mat2 m1 = mat2(1.0, 2.0, 3.0, 4.0);
8 ok = ok && m1 == mat2(1.0, 2.0, 3.0, 4.0);
9 mat2 m3 = m1;
10 ok = ok && m3 == mat2(1.0, 2.0, 3.0, 4.0);
11 mat2 m4 = mat2(6.0);
12 ok = ok && m4 == mat2(6.0, 0.0, 0.0, 6.0);
14 ok = ok && m3 == mat2(6.0, 12.0, 18.0, 24.0);
15 mat2 m5 = mat2(m1[1].y);
16 ok = ok && m5 == mat2(4.0, 0.0, 0.0, 4.0);
18 ok = ok && m1 == mat2(5.0, 2.0, 3.0, 8.0);
[all …]
DVectorToMatrixCast.glsl8 ok = ok && mat2(testInputs) == mat2(-1.25, 0.0, 0.75, 2.25);
9 ok = ok && mat2(testInputs) == mat2(-1.25, 0.0, 0.75, 2.25);
10 ok = ok && mat2(colorGreen) == mat2(0.0, 1.0, 0.0, 1.0);
11 ok = ok && mat2(colorGreen) == mat2(0.0, 1.0, 0.0, 1.0);
12 ok = ok && mat2(vec4(ivec4(colorGreen))) == mat2(0.0, 1.0, 0.0, 1.0);
13 ok = ok && mat2(colorGreen) == mat2(0.0, 1.0, 0.0, 1.0);
14 ok = ok && mat2(colorGreen) == mat2(0.0, 1.0, 0.0, 1.0);
15 ok = ok && mat2(vec4(bvec4(colorGreen))) == mat2(0.0, 1.0, 0.0, 1.0);
DArrayComparison.glsl16 mat2 m1[3] = mat2[3](mat2(1.0), mat2(2.0), mat2(3.0, 4.0, 5.0, 6.0));
17 mat2 m2[3] = mat2[3](mat2(1.0), mat2(2.0), mat2(3.0, 4.0, 5.0, 6.0));
18 mat2 m3[3] = mat2[3](mat2(1.0), mat2(2.0, 3.0, 4.0, 5.0), mat2(6.0));
DResizeMatrix.glsl7 mat2 a = mat2(mat3(1.0));
9 mat2 b = mat2(mat4(1.0));
13 mat3 d = mat3(mat2(1.0));
15 mat4 e = mat4(mat3(mat2(1.0)));
17 mat2 f = mat2(mat3(mat4(1.0)));
DFunctionReturnTypeMatch.glsl14 mat2 returns_float2x2_f22() {
15 return mat2(2.0);
35 mat2 returns_half2x2_h22() {
36 return mat2(2.0);
73 mat2 x5 = mat2(2.0);
80 mat2 x12 = mat2(2.0);
DArrayCast.glsl16 mediump mat2 h2x2[2] = mat2[2](mat2(1.0, 2.0, 3.0, 4.0), mat2(5.0, 6.0, 7.0, 8.0));
17 highp mat2 f2x2[2] = h2x2;
/third_party/skia/tests/sksl/workarounds/
DRewriteMatrixComparisons.glsl7 uniform mediump mat2 testHalf2x2;
8 uniform highp mat2 testFloat2x2;
12 mediump mat2 _tempMatrix0;
13 mediump mat2 _tempMatrix1;
14 highp mat2 _tempMatrix2;
15 highp mat2 _tempMatrix3;
16 mediump mat2 _tempMatrix4;
17 mediump mat2 _tempMatrix5;
18 highp mat2 _tempMatrix6;
19 highp mat2 _tempMatrix7;
[all …]
DRewriteMatrixComparisonsStandaloneSettings.glsl5 uniform mat2 testHalf2x2;
6 uniform mat2 testFloat2x2;
11 _0_ok = _0_ok && testHalf2x2 == mat2(1.0, 2.0, 3.0, 4.0);
12 _0_ok = _0_ok && testFloat2x2 == mat2(5.0, 6.0, 7.0, 8.0);
13 _0_ok = _0_ok && testHalf2x2 != mat2(123.0);
14 _0_ok = _0_ok && testFloat2x2 != mat2(456.0);
/third_party/skia/tests/sksl/intrinsics/
DMatrixCompMultES2.glsl5 uniform mat2 testMatrix2x2;
8 mat2 h22 = mat2(0.0, 5.0, 10.0, 15.0);
9 mat2 f22 = matrixCompMult(testMatrix2x2, mat2(1.0));
11 …return (h22 == mat2(0.0, 5.0, 10.0, 15.0) && f22 == mat2(1.0, 0.0, 0.0, 4.0)) && h33 == mat3(2.0, …
/third_party/glslang/Test/
Dlink1.frag19 ivec2 foo(mat2 m)
29 uniform mat2 um2 = mat2(4.0);
30 uniform mat2 um2n = mat2(4.0);
31 uniform mat2 um2e = mat2(4.0);
Dspv.constStruct.vert6 mat2 m;
10 mat2 m;
20 S s1 = S(T(mat2(1.0)), U(mat2(1.0)));
21 S s2 = S(T(mat2(1.0)), U(mat2(1.0)));
Dlink2.frag24 uniform mat2 um2 = mat2(4.0);
25 uniform mat2 um2n;
26 uniform mat2 um2e = mat2(3.0);
Dhlsl.matpack-pragma.frag6 row_major float4x4 mat2;
15 row_major float4x4 mat2;
31 g_MyBuffer1.mat1[0] + g_MyBuffer1.mat2[0] + g_MyBuffer1.mat3[0] +
32 g_MyBuffer2.mat1[0] + g_MyBuffer2.mat2[0] + g_MyBuffer2.mat3[0];
/third_party/skia/third_party/externals/spirv-cross/shaders-msl-no-opt/comp/
Dstruct-packing-scalar.nocompat.invalid.vk.comp53 mat2 m1;
63 layout(column_major) mat2 m0;
64 layout(column_major) mat2 m1;
67 layout(row_major) mat2 m4;
68 layout(row_major) mat2 m5[9];
80 layout(column_major) mat2 m0;
81 layout(column_major) mat2 m1;
84 layout(row_major) mat2 m4;
85 layout(row_major) mat2 m5[9];
/third_party/skia/third_party/externals/spirv-cross/shaders-reflection/comp/
Dstruct-packing.comp54 layout(column_major) mat2 m0;
55 layout(column_major) mat2 m1;
58 layout(row_major) mat2 m4;
59 layout(row_major) mat2 m5[9];
71 layout(column_major) mat2 m0;
72 layout(column_major) mat2 m1;
75 layout(row_major) mat2 m4;
76 layout(row_major) mat2 m5[9];
/third_party/skia/third_party/externals/spirv-cross/shaders-no-opt/comp/
Dstruct-packing-scalar.nocompat.invalid.vk.comp55 layout(column_major) mat2 m0;
56 layout(column_major) mat2 m1;
59 layout(row_major) mat2 m4;
60 layout(row_major) mat2 m5[9];
72 layout(column_major) mat2 m0;
73 layout(column_major) mat2 m1;
76 layout(row_major) mat2 m4;
77 layout(row_major) mat2 m5[9];
/third_party/skia/third_party/externals/spirv-cross/shaders/comp/
Dstruct-packing.comp53 layout(column_major) mat2 m0;
54 layout(column_major) mat2 m1;
57 layout(row_major) mat2 m4;
58 layout(row_major) mat2 m5[9];
70 layout(column_major) mat2 m0;
71 layout(column_major) mat2 m1;
74 layout(row_major) mat2 m4;
75 layout(row_major) mat2 m5[9];
/third_party/glslang/Test/baseResults/
Dhlsl.matpack-pragma.frag.out18 … 4X4 matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, layout( column_maj…
19mat2, layout( column_major) temp 4X4 matrix of float mat3} g_MyBuffer1, layout( row_major std140) …
27 0:31 mat2: direct index for structure (layout( column_major) temp 4X4 matrix of …
28 … 4X4 matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, layout( column_maj…
29mat2, layout( column_major) temp 4X4 matrix of float mat3} g_MyBuffer1, layout( row_major std140) …
38 … 4X4 matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, layout( column_maj…
39mat2, layout( column_major) temp 4X4 matrix of float mat3} g_MyBuffer1, layout( row_major std140) …
48 … 4X4 matrix of float mat1, layout( column_major) temp 4X4 matrix of float mat2, layout( row_major)…
49mat2, layout( column_major) temp 4X4 matrix of float mat3} g_MyBuffer1, layout( row_major std140) …
57 0:32 mat2: direct index for structure (layout( column_major) temp 4X4 matrix of float)
[all …]
/third_party/skia/third_party/externals/tint/test/intrinsics/gen/transpose/
D31d679.wgsl.expected.glsl5 mat2 res = transpose(mat2(0.0f, 0.0f, 0.0f, 0.0f));
35 mat2 res = transpose(mat2(0.0f, 0.0f, 0.0f, 0.0f));
55 mat2 res = transpose(mat2(0.0f, 0.0f, 0.0f, 0.0f));
/third_party/vk-gl-cts/data/gles2/shaders/
Dconversions.test3188mat2 out0 = [ mat2(0.0, 0.0, 0.0, 0.0) | mat2(1.0, 0.0, 0.0, 1.0) | mat2(2.0, 0.0, 0.0, 2.0) | mat…
3200 out0 = mat2(in0);
3254mat2 out0 = [ mat2(0.0, 0.0, 0.0, 0.0) | mat2(1.0, 0.0, 0.0, 1.0) | mat2(2.0, 0.0, 0.0, 2.0) | mat…
3266 out0 = mat2(in0);
3320 output mat2 out0 = [ mat2(1.0, 0.0, 0.0, 1.0) | mat2(0.0, 0.0, 0.0, 0.0) ];
3332 out0 = mat2(in0);
3390 output mat2 out0 = [ mat2(1.0, 0.0, 0.0, 1.0) | mat2(6.5, 32.0, 12.5, 0.0208333333333) ];
3402 out0 = mat2(in0);
3456 output mat2 out0 = [ mat2(1.0, 0.0, 0.0, 1.0) | mat2(6.5, 32.0, 12.5, 0.03125) ];
3468 out0 = mat2(in0);
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/shaders/comp/
Dstruct-packing.comp51 mat2 m0;
52 mat2 m1;
55 layout(row_major) mat2 m4;
56 layout(row_major) mat2 m5[9];
67 mat2 m0;
68 mat2 m1;
71 layout(row_major) mat2 m4;
72 layout(row_major) mat2 m5[9];
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-no-opt/comp/
Dstruct-packing-scalar.nocompat.invalid.vk.comp.vk52 mat2 m0;
53 mat2 m1;
56 layout(row_major) mat2 m4;
57 layout(row_major) mat2 m5[9];
68 mat2 m0;
69 mat2 m1;
72 layout(row_major) mat2 m4;
73 layout(row_major) mat2 m5[9];
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders/comp/
Dstruct-packing.comp51 mat2 m0;
52 mat2 m1;
55 layout(row_major) mat2 m4;
56 layout(row_major) mat2 m5[9];
67 mat2 m0;
68 mat2 m1;
71 layout(row_major) mat2 m4;
72 layout(row_major) mat2 m5[9];
/third_party/skia/third_party/externals/tint/test/bug/tint/
D403.wgsl.expected.glsl6 mat2 transform1;
9 mat2 transform2;
21 mat2 x_23 = x_20.transform1;
22 mat2 x_28 = x_26.transform2;
27 vec2 x_52 = (mat2((x_23[0u] + x_28[0u]), (x_23[1u] + x_28[1u])) * x_51);

12345678910>>...13