Constructor section of the spec says:
Scalar constructors with non-scalar parameters can be used to take the first element from a non-scalar.
It does not appear to list which non-scalar types are allowed. From testing in GLSLang it seems that vec and mat types can be used, but array and struct types cannot.
Should the spec be clarified to say vector or matrix instead of just non-scalar ?
Constructor section of the spec says:
It does not appear to list which non-scalar types are allowed. From testing in GLSLang it seems that
vecandmattypes can be used, butarrayandstructtypes cannot.Should the spec be clarified to say
vector or matrixinstead of justnon-scalar?