SPV: Implement Vulkan version of GLSL (KHR_vulkan_glsl).
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user