1spv.set.vert 2// Module Version 10000 3// Generated by (magic number): 80007 4// Id's are bound by 22 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Vertex 4 "main" 9 10 Source GLSL 450 11 Name 4 "main" 12 Name 9 "color" 13 Name 10 "setBuf" 14 MemberName 10(setBuf) 0 "color" 15 Name 12 "setBufInst" 16 Name 21 "samp2D" 17 MemberDecorate 10(setBuf) 0 Offset 0 18 Decorate 10(setBuf) BufferBlock 19 Decorate 12(setBufInst) DescriptorSet 0 20 Decorate 12(setBufInst) Binding 8 21 Decorate 21(samp2D) DescriptorSet 4 22 Decorate 21(samp2D) Binding 7 23 2: TypeVoid 24 3: TypeFunction 2 25 6: TypeFloat 32 26 7: TypeVector 6(float) 4 27 8: TypePointer Output 7(fvec4) 28 9(color): 8(ptr) Variable Output 29 10(setBuf): TypeStruct 7(fvec4) 30 11: TypePointer Uniform 10(setBuf) 31 12(setBufInst): 11(ptr) Variable Uniform 32 13: TypeInt 32 1 33 14: 13(int) Constant 0 34 15: TypePointer Uniform 7(fvec4) 35 18: TypeImage 6(float) 2D sampled format:Unknown 36 19: TypeSampledImage 18 37 20: TypePointer UniformConstant 19 38 21(samp2D): 20(ptr) Variable UniformConstant 39 4(main): 2 Function None 3 40 5: Label 41 16: 15(ptr) AccessChain 12(setBufInst) 14 42 17: 7(fvec4) Load 16 43 Store 9(color) 17 44 Return 45 FunctionEnd 46