Support align/offset for all versions GLSL/ESSL targeting SPIR-V.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user