Skip to content
Commit 01eb19e2 authored by João Capucho's avatar João Capucho Committed by Dzmitry Malyshau
Browse files

[glsl-in] Fix vector and matrix constructor

Matrix and vector constructors expected a vector (in the case of the
matrix) or a scalar (in both cases). Now they handle resizing such that
the following code now works

```glsl
mat3 a;
mat4(a); // This would return a validation error because it emitted a cast
```
parent 9868441e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment