SPV: Implement Vulkan version of GLSL (KHR_vulkan_glsl).
This commit is contained in:
parent
019f08fcd8
commit
6c292d3ba7
200 changed files with 7841 additions and 5577 deletions
|
|
@ -7,12 +7,12 @@ Linked vertex stage:
|
|||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 48
|
||||
// Id's are bound by 45
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 46 47
|
||||
EntryPoint Vertex 4 "main"
|
||||
Source ESSL 310
|
||||
Name 4 "main"
|
||||
Name 8 "i"
|
||||
|
|
@ -23,10 +23,6 @@ Linked vertex stage:
|
|||
Name 38 "E"
|
||||
Name 39 "F"
|
||||
Name 43 "G"
|
||||
Name 46 "gl_VertexID"
|
||||
Name 47 "gl_InstanceID"
|
||||
Decorate 46(gl_VertexID) BuiltIn VertexId
|
||||
Decorate 47(gl_InstanceID) BuiltIn InstanceId
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeInt 32 1
|
||||
|
|
@ -39,9 +35,6 @@ Linked vertex stage:
|
|||
31: 6(int) Constant 3
|
||||
40: 6(int) Constant 12
|
||||
44: 6(int) Constant 99
|
||||
45: TypePointer Input 6(int)
|
||||
46(gl_VertexID): 45(ptr) Variable Input
|
||||
47(gl_InstanceID): 45(ptr) Variable Input
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
8(i): 7(ptr) Variable Function
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue