2015-05-15 21:32:46 +00:00
|
|
|
spv.set.vert
|
|
|
|
Warning, version 450 is not yet complete; most version-specific features are present, but some are missing.
|
|
|
|
|
|
|
|
|
|
|
|
Linked vertex stage:
|
|
|
|
|
|
|
|
|
2015-11-16 04:33:39 +00:00
|
|
|
// Module Version 10000
|
|
|
|
// Generated by (magic number): 80001
|
2015-09-15 02:58:02 +00:00
|
|
|
// Id's are bound by 25
|
2015-05-15 21:32:46 +00:00
|
|
|
|
2015-08-07 04:53:06 +00:00
|
|
|
Capability Shader
|
2015-05-15 21:32:46 +00:00
|
|
|
1: ExtInstImport "GLSL.std.450"
|
|
|
|
MemoryModel Logical GLSL450
|
2015-11-16 04:33:39 +00:00
|
|
|
EntryPoint Vertex 4 "main" 9 23 24
|
|
|
|
Source GLSL 450
|
2015-05-15 21:32:46 +00:00
|
|
|
Name 4 "main"
|
2015-09-15 02:58:02 +00:00
|
|
|
Name 9 "color"
|
|
|
|
Name 10 "setBuf"
|
|
|
|
MemberName 10(setBuf) 0 "color"
|
|
|
|
Name 12 "setBufInst"
|
2015-11-16 04:33:39 +00:00
|
|
|
Name 21 "samp2D"
|
2015-09-15 02:58:02 +00:00
|
|
|
Name 23 "gl_VertexID"
|
|
|
|
Name 24 "gl_InstanceID"
|
|
|
|
Decorate 10(setBuf) GLSLShared
|
|
|
|
Decorate 10(setBuf) BufferBlock
|
|
|
|
Decorate 12(setBufInst) DescriptorSet 0
|
|
|
|
Decorate 12(setBufInst) Binding 8
|
2015-11-16 04:33:39 +00:00
|
|
|
Decorate 21(samp2D) DescriptorSet 4
|
|
|
|
Decorate 21(samp2D) Binding 7
|
2015-09-15 02:58:02 +00:00
|
|
|
Decorate 23(gl_VertexID) BuiltIn VertexId
|
|
|
|
Decorate 24(gl_InstanceID) BuiltIn InstanceId
|
2015-05-15 21:32:46 +00:00
|
|
|
2: TypeVoid
|
2015-08-07 04:53:06 +00:00
|
|
|
3: TypeFunction 2
|
2015-09-15 02:58:02 +00:00
|
|
|
6: TypeFloat 32
|
|
|
|
7: TypeVector 6(float) 4
|
|
|
|
8: TypePointer Output 7(fvec4)
|
|
|
|
9(color): 8(ptr) Variable Output
|
|
|
|
10(setBuf): TypeStruct 7(fvec4)
|
|
|
|
11: TypePointer Uniform 10(setBuf)
|
|
|
|
12(setBufInst): 11(ptr) Variable Uniform
|
|
|
|
13: TypeInt 32 1
|
|
|
|
14: 13(int) Constant 0
|
|
|
|
15: TypePointer Uniform 7(fvec4)
|
|
|
|
18: TypeImage 6(float) 2D sampled format:Unknown
|
|
|
|
19: TypeSampledImage 18
|
|
|
|
20: TypePointer UniformConstant 19
|
2015-11-16 04:33:39 +00:00
|
|
|
21(samp2D): 20(ptr) Variable UniformConstant
|
2015-09-15 02:58:02 +00:00
|
|
|
22: TypePointer Input 13(int)
|
|
|
|
23(gl_VertexID): 22(ptr) Variable Input
|
|
|
|
24(gl_InstanceID): 22(ptr) Variable Input
|
2015-05-15 21:32:46 +00:00
|
|
|
4(main): 2 Function None 3
|
|
|
|
5: Label
|
2015-09-15 02:58:02 +00:00
|
|
|
16: 15(ptr) AccessChain 12(setBufInst) 14
|
|
|
|
17: 7(fvec4) Load 16
|
|
|
|
Store 9(color) 17
|
2015-05-15 21:32:46 +00:00
|
|
|
Return
|
|
|
|
FunctionEnd
|