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

@@ -25,7 +25,7 @@ layout(column_major) uniform T3 { // shared and column_major
mat4 M3; // column_major
layout(row_major) mat4 M4; // row major
mat2x3 N2; // column_major
uvec3 uv3a[4];
layout(align=16, offset=2048) uvec3 uv3a[4];
};
in uint uiuin;