Support align/offset for all versions GLSL/ESSL targeting SPIR-V.
This commit is contained in:
parent
e4e8f7b7a3
commit
7225a1cb1e
6 changed files with 20 additions and 14 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue