xref: /aosp_15_r20/external/skia/tests/sksl/errors/MatrixToVectorCastInteger.glsl (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1### Compilation failed:
2
3error: 4: 'half2x2' is not a valid parameter to 'int' constructor
4int    testScalar    = int (testMatrix2x2);
5                       ^^^^^^^^^^^^^^^^^^^
6error: 5: 'half2x2' is not a valid parameter to 'int2' constructor
7int2   testVec2      = int2(testMatrix2x2);
8                       ^^^^^^^^^^^^^^^^^^^
9error: 6: 'half2x2' is not a valid parameter to 'int3' constructor
10int3   testVec3      = int3(testMatrix2x2);
11                       ^^^^^^^^^^^^^^^^^^^
123 errors
13