yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
9a1dc751
main
1spv.330.location.vert 2// Module Version 10000 3// Generated by (magic number): 8000b 4// Id's are bound by 47 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Vertex 4 "main" 13 18 28 29 34 10 Source GLSL 330 11 Name 4 "main" 12 Name 11 "gl_PerVertex" 13 MemberName 11(gl_PerVertex) 0 "gl_Position" 14 MemberName 11(gl_PerVertex) 1 "gl_PointSize" 15 MemberName 11(gl_PerVertex) 2 "gl_ClipDistance" 16 Name 13 "" 17 Name 18 "position" 18 Name 28 "color" 19 Name 29 "normal" 20 Name 32 "Block" 21 MemberName 32(Block) 0 "a" 22 MemberName 32(Block) 1 "b" 23 Name 34 "blk" 24 Decorate 11(gl_PerVertex) Block 25 MemberDecorate 11(gl_PerVertex) 0 BuiltIn Position 26 MemberDecorate 11(gl_PerVertex) 1 BuiltIn PointSize 27 MemberDecorate 11(gl_PerVertex) 2 BuiltIn ClipDistance 28 Decorate 18(position) Location 0 29 Decorate 28(color) Location 0 30 Decorate 29(normal) Location 1 31 Decorate 32(Block) Block 32 Decorate 34(blk) Location 1 33 2: TypeVoid 34 3: TypeFunction 2 35 6: TypeFloat 32 36 7: TypeVector 6(float) 4 37 8: TypeInt 32 0 38 9: 8(int) Constant 1 39 10: TypeArray 6(float) 9 4011(gl_PerVertex): TypeStruct 7(fvec4) 6(float) 10 41 12: TypePointer Output 11(gl_PerVertex) 42 13: 12(ptr) Variable Output 43 14: TypeInt 32 1 44 15: 14(int) Constant 0 45 16: TypeVector 6(float) 3 46 17: TypePointer Input 16(fvec3) 47 18(position): 17(ptr) Variable Input 48 20: 6(float) Constant 1065353216 49 25: TypePointer Output 7(fvec4) 50 27: TypePointer Output 16(fvec3) 51 28(color): 27(ptr) Variable Output 52 29(normal): 17(ptr) Variable Input 53 31: TypeVector 6(float) 2 54 32(Block): TypeStruct 7(fvec4) 31(fvec2) 55 33: TypePointer Output 32(Block) 56 34(blk): 33(ptr) Variable Output 57 36: 6(float) Constant 0 58 42: 14(int) Constant 1 59 45: TypePointer Output 31(fvec2) 60 4(main): 2 Function None 3 61 5: Label 62 19: 16(fvec3) Load 18(position) 63 21: 6(float) CompositeExtract 19 0 64 22: 6(float) CompositeExtract 19 1 65 23: 6(float) CompositeExtract 19 2 66 24: 7(fvec4) CompositeConstruct 21 22 23 20 67 26: 25(ptr) AccessChain 13 15 68 Store 26 24 69 30: 16(fvec3) Load 29(normal) 70 Store 28(color) 30 71 35: 16(fvec3) Load 29(normal) 72 37: 6(float) CompositeExtract 35 0 73 38: 6(float) CompositeExtract 35 1 74 39: 6(float) CompositeExtract 35 2 75 40: 7(fvec4) CompositeConstruct 37 38 39 36 76 41: 25(ptr) AccessChain 34(blk) 15 77 Store 41 40 78 43: 16(fvec3) Load 18(position) 79 44: 31(fvec2) VectorShuffle 43 43 0 1 80 46: 45(ptr) AccessChain 34(blk) 42 81 Store 46 44 82 Return 83 FunctionEnd