SPV: Implement Vulkan version of GLSL (KHR_vulkan_glsl).
This commit is contained in:
parent
019f08fcd8
commit
6c292d3ba7
200 changed files with 7841 additions and 5577 deletions
|
|
@ -7,7 +7,7 @@ out vec4 pos;
|
|||
out vec3 color;
|
||||
flat out int iout;
|
||||
|
||||
layout(shared, column_major, row_major) uniform; // default is now shared and row_major
|
||||
layout(row_major) uniform; // default is now row_major
|
||||
|
||||
layout(std140) uniform Transform { // layout of this block is std140
|
||||
mat4 M1; // row_major
|
||||
|
|
@ -28,7 +28,7 @@ layout(column_major) uniform T3 { // shared and column_major
|
|||
uvec3 uv3a[4];
|
||||
};
|
||||
|
||||
uniform uint uiuin;
|
||||
uint uiuin;
|
||||
|
||||
struct S {
|
||||
vec3 c;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue