GLSL/SPV: Fix #1310: don't create unnecessary integer matrices.

This commit is contained in:
John Kessenich
2018-04-07 18:49:54 -06:00
parent 88a6a18119
commit b92ce60fc7
4 changed files with 117 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
#version 450
void main()
{
mat4x3 m;
vec2 v2 = vec2(m);
vec3 v3 = vec3(m);
vec4 v4 = vec4(m);
ivec2 iv2 = ivec2(m);
ivec3 iv3 = ivec3(m);
ivec4 iv4 = ivec4(m);
}