### Compilation failed: | |
error: 9: expected 'vec2', but found 'int' | |
vec2 bad1 = 0; | |
^ | |
error: 10: expected 'int', but found 'mat2' | |
int bad2 = mat2(0); | |
^^^^^^^ | |
error: 11: expected 'bvec2', but found 'vec2' | |
bvec2 bad3 = vec2(0); | |
^^^^^^^ | |
error: 12: expected 'float2', but found 'vec3' | |
float2 bad4 = vec3(0); | |
^^^^^^^ | |
error: 13: expected 'mat4', but found 'float3x3' | |
mat4 bad5 = float3x3(0); | |
^^^^^^^^^^^ | |
error: 14: expected 'vec4', but found 'ivec4' | |
return ivec4(1); | |
^^^^^^^^ | |
6 errors |