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 44
|
||||
// Id's are bound by 41
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 42 43
|
||||
EntryPoint Vertex 4 "main"
|
||||
Source ESSL 310
|
||||
Name 4 "main"
|
||||
Name 8 "i"
|
||||
@@ -20,10 +20,6 @@ Linked vertex stage:
|
||||
Name 27 "B"
|
||||
Name 29 "C"
|
||||
Name 39 "D"
|
||||
Name 42 "gl_VertexID"
|
||||
Name 43 "gl_InstanceID"
|
||||
Decorate 42(gl_VertexID) BuiltIn VertexId
|
||||
Decorate 43(gl_InstanceID) BuiltIn InstanceId
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeInt 32 1
|
||||
@@ -35,9 +31,6 @@ Linked vertex stage:
|
||||
22: 6(int) Constant 2
|
||||
31: 6(int) Constant 5
|
||||
40: 6(int) Constant 3
|
||||
41: TypePointer Input 6(int)
|
||||
42(gl_VertexID): 41(ptr) Variable Input
|
||||
43(gl_InstanceID): 41(ptr) Variable Input
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
8(i): 7(ptr) Variable Function
|
||||
|
||||
Reference in New Issue
Block a user