SPV: Implement Vulkan version of GLSL (KHR_vulkan_glsl).
This commit is contained in:
@@ -7,19 +7,15 @@ Linked vertex stage:
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 25
|
||||
// Id's are bound by 22
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 23 24
|
||||
EntryPoint Vertex 4 "main"
|
||||
Source ESSL 310
|
||||
Name 4 "main"
|
||||
Name 8 "i"
|
||||
Name 23 "gl_VertexID"
|
||||
Name 24 "gl_InstanceID"
|
||||
Decorate 23(gl_VertexID) BuiltIn VertexId
|
||||
Decorate 24(gl_InstanceID) BuiltIn InstanceId
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeInt 32 1
|
||||
@@ -28,9 +24,6 @@ Linked vertex stage:
|
||||
16: 6(int) Constant 10
|
||||
17: TypeBool
|
||||
20: 6(int) Constant 1
|
||||
22: TypePointer Input 6(int)
|
||||
23(gl_VertexID): 22(ptr) Variable Input
|
||||
24(gl_InstanceID): 22(ptr) Variable Input
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
8(i): 7(ptr) Variable Function
|
||||
|
||||
Reference in New Issue
Block a user