Support align/offset for all versions GLSL/ESSL targeting SPIR-V.

This commit is contained in:
John Kessenich
2017-02-13 09:09:04 -07:00
parent e4e8f7b7a3
commit 7225a1cb1e
6 changed files with 20 additions and 14 deletions

View File

@@ -14,7 +14,7 @@ layout(std140) uniform bn {
layout(column_major) mat4 matca[4];
layout(row_major) mat4 matr;
layout(column_major) mat4 matc;
mat4 matrdef;
layout(align=512, offset=1024) mat4 matrdef;
};
uniform sampler2DRect sampR;