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 25
|
||||
// Id's are bound by 22
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 9 23 24
|
||||
EntryPoint Vertex 4 "main" 9
|
||||
Source GLSL 450
|
||||
Name 4 "main"
|
||||
Name 9 "color"
|
||||
|
|
@ -20,16 +20,12 @@ Linked vertex stage:
|
|||
MemberName 10(setBuf) 0 "color"
|
||||
Name 12 "setBufInst"
|
||||
Name 21 "samp2D"
|
||||
Name 23 "gl_VertexID"
|
||||
Name 24 "gl_InstanceID"
|
||||
Decorate 10(setBuf) GLSLShared
|
||||
MemberDecorate 10(setBuf) 0 Offset 0
|
||||
Decorate 10(setBuf) BufferBlock
|
||||
Decorate 12(setBufInst) DescriptorSet 0
|
||||
Decorate 12(setBufInst) Binding 8
|
||||
Decorate 21(samp2D) DescriptorSet 4
|
||||
Decorate 21(samp2D) Binding 7
|
||||
Decorate 23(gl_VertexID) BuiltIn VertexId
|
||||
Decorate 24(gl_InstanceID) BuiltIn InstanceId
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
|
|
@ -46,9 +42,6 @@ Linked vertex stage:
|
|||
19: TypeSampledImage 18
|
||||
20: TypePointer UniformConstant 19
|
||||
21(samp2D): 20(ptr) Variable UniformConstant
|
||||
22: TypePointer Input 13(int)
|
||||
23(gl_VertexID): 22(ptr) Variable Input
|
||||
24(gl_InstanceID): 22(ptr) Variable Input
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
16: 15(ptr) AccessChain 12(setBufInst) 14
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue