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,23 +7,19 @@ Linked vertex stage:
|
|||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 41
|
||||
// Id's are bound by 38
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 25 28 34 39 40
|
||||
EntryPoint Vertex 4 "main" 25 28 34
|
||||
Source GLSL 140
|
||||
Name 4 "main"
|
||||
Name 8 "i"
|
||||
Name 25 "colorOut"
|
||||
Name 28 "color"
|
||||
Name 34 "gl_Position"
|
||||
Name 39 "gl_VertexID"
|
||||
Name 40 "gl_InstanceID"
|
||||
Decorate 34(gl_Position) BuiltIn Position
|
||||
Decorate 39(gl_VertexID) BuiltIn VertexId
|
||||
Decorate 40(gl_InstanceID) BuiltIn InstanceId
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeInt 32 1
|
||||
|
|
@ -43,9 +39,6 @@ Linked vertex stage:
|
|||
30: TypePointer Output 20(fvec4)
|
||||
34(gl_Position): 30(ptr) Variable Output
|
||||
35: 6(int) Constant 2
|
||||
38: TypePointer Input 6(int)
|
||||
39(gl_VertexID): 38(ptr) Variable Input
|
||||
40(gl_InstanceID): 38(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