Add support for float spec const vector initialization

Fixes #2025
This commit is contained in:
Greg Fischer
2021-06-08 19:10:48 -06:00
parent cb2c7fd674
commit 230168d5d9
3 changed files with 22 additions and 10 deletions

View File

@@ -37,6 +37,6 @@ void main()
ivec2(sci2, sci2); // spec-const
ivec2[2](ivec2(sci2, sci2), ivec2(sci2, sci2)); // not a spec-const
vec2(scf1, scf1); // not spec-const
vec2(scf1, scf1); // spec-const
vec2[2](vec2(scf1, scf1), vec2(scf1, scf1)); // not a spec-const
}