glslang: include 0 as not being a power of 2
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30613 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
24c9cc57ad
commit
837c6380f3
3 changed files with 8 additions and 3 deletions
|
|
@ -102,6 +102,7 @@ layout(std430) uniform block430 {
|
|||
layout(offset = 40) vec2 c; // ERROR, lies within previous member
|
||||
layout(align = 6) double g; // ERROR, 6 is not a power of 2
|
||||
layout(offset=68) double h; // ERROR, offset not aligned
|
||||
layout(align = 0) double i; // ERROR, 0 not a power of 2
|
||||
} specExampleErrors430;
|
||||
|
||||
layout(std430) uniform block2430 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue