SPV: Implement Vulkan version of GLSL (KHR_vulkan_glsl).
This commit is contained in:
@@ -7,12 +7,12 @@ Linked vertex stage:
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 270
|
||||
// Id's are bound by 268
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 9 15 21 26 47 67 83 100 121 142 146 156 173 182 247 268 269
|
||||
EntryPoint Vertex 4 "main" 9 15 21 26 47 67 83 100 121 142 146 156 173 182 247
|
||||
Source ESSL 310
|
||||
Name 4 "main"
|
||||
Name 9 "iout"
|
||||
@@ -44,12 +44,8 @@ Linked vertex stage:
|
||||
Name 173 "u3"
|
||||
Name 182 "i3"
|
||||
Name 247 "v4"
|
||||
Name 268 "gl_VertexID"
|
||||
Name 269 "gl_InstanceID"
|
||||
Decorate 261 RelaxedPrecision
|
||||
Decorate 265 RelaxedPrecision
|
||||
Decorate 268(gl_VertexID) BuiltIn VertexId
|
||||
Decorate 269(gl_InstanceID) BuiltIn InstanceId
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeInt 32 1
|
||||
@@ -117,8 +113,6 @@ Linked vertex stage:
|
||||
182(i3): 181(ptr) Variable Input
|
||||
246: TypePointer Input 19(fvec4)
|
||||
247(v4): 246(ptr) Variable Input
|
||||
268(gl_VertexID): 155(ptr) Variable Input
|
||||
269(gl_InstanceID): 155(ptr) Variable Input
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
30(u2out): 29(ptr) Variable Function
|
||||
|
||||
Reference in New Issue
Block a user