SPV: Implement Vulkan version of GLSL (KHR_vulkan_glsl).
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#version 140
|
||||
#version 400
|
||||
|
||||
uniform sampler2D samp2D;
|
||||
in vec2 coord;
|
||||
|
||||
@@ -21,10 +22,10 @@ struct lunarStruct3 {
|
||||
};
|
||||
|
||||
|
||||
uniform lunarStruct1 foo;
|
||||
uniform lunarStruct2 foo2[5];
|
||||
uniform lunarStruct3 foo3;
|
||||
uniform int Count;
|
||||
flat in lunarStruct1 foo;
|
||||
flat in lunarStruct2 foo2[5];
|
||||
flat in lunarStruct3 foo3;
|
||||
flat in int Count;
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user