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