Fix #2132: constant matrix constructor from single non-scalar argument

This commit is contained in:
John Kessenich 2020-03-18 10:27:59 -06:00 committed by Neslisah Torosdagli
parent 09a9f8353e
commit 3f7c957e0a
3 changed files with 84 additions and 25 deletions

View file

@ -122,6 +122,9 @@ void foo2()
const mat2 mm2 = mat2(1.0, 2.0, 3.0, 4.0);
const mat3x2 mm32 = mat3x2(10.0, 11.0, 12.0, 13.0, 14.0, 15.0);
const mat2 m22 = mat2(vec4(1.0, 2.0, 3.0, 4.0));
const mat3x4 mm34 = mat3x4(7.0);
const vec4 mv4 = vec4(m22);
void foo3()
{