xref: /aosp_15_r20/external/skia/tests/sksl/errors/MatrixToVectorCast3x3.glsl (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1### Compilation failed:
2
3error: 4: 'half3x3' is not a valid parameter to 'half' constructor; use '[0][0]' instead
4half    testScalar    = half (testMatrix3x3);
5                        ^^^^^^^^^^^^^^^^^^^^
6error: 5: 'half3x3' is not a valid parameter to 'half2' constructor
7half2   testVec2      = half2(testMatrix3x3);
8                        ^^^^^^^^^^^^^^^^^^^^
9error: 6: 'half3x3' is not a valid parameter to 'half3' constructor
10half3   testVec3      = half3(testMatrix3x3);
11                        ^^^^^^^^^^^^^^^^^^^^
12error: 7: 'half3x3' is not a valid parameter to 'half4' constructor
13half4   testVec4      = half4(testMatrix3x3);
14                        ^^^^^^^^^^^^^^^^^^^^
154 errors
16