1spv.300layout.frag 2// Module Version 10000 3// Generated by (magic number): 8000a 4// Id's are bound by 37 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Fragment 4 "main" 9 11 15 26 29 10 ExecutionMode 4 OriginUpperLeft 11 Source ESSL 310 12 Name 4 "main" 13 Name 9 "c" 14 Name 11 "color" 15 Name 13 "S" 16 MemberName 13(S) 0 "c" 17 MemberName 13(S) 1 "f" 18 Name 15 "s" 19 Name 26 "p" 20 Name 29 "pos" 21 Decorate 9(c) RelaxedPrecision 22 Decorate 9(c) Location 7 23 Decorate 11(color) RelaxedPrecision 24 Decorate 11(color) Location 1 25 Decorate 12 RelaxedPrecision 26 MemberDecorate 13(S) 0 RelaxedPrecision 27 MemberDecorate 13(S) 1 RelaxedPrecision 28 Decorate 15(s) Location 2 29 Decorate 19 RelaxedPrecision 30 Decorate 20 RelaxedPrecision 31 Decorate 26(p) RelaxedPrecision 32 Decorate 26(p) Location 3 33 Decorate 29(pos) RelaxedPrecision 34 Decorate 29(pos) Location 0 35 Decorate 30 RelaxedPrecision 36 Decorate 33 RelaxedPrecision 37 Decorate 34 RelaxedPrecision 38 2: TypeVoid 39 3: TypeFunction 2 40 6: TypeFloat 32 41 7: TypeVector 6(float) 3 42 8: TypePointer Output 7(fvec3) 43 9(c): 8(ptr) Variable Output 44 10: TypePointer Input 7(fvec3) 45 11(color): 10(ptr) Variable Input 46 13(S): TypeStruct 7(fvec3) 6(float) 47 14: TypePointer Input 13(S) 48 15(s): 14(ptr) Variable Input 49 16: TypeInt 32 1 50 17: 16(int) Constant 0 51 21: TypeVector 6(float) 4 52 22: TypeInt 32 0 53 23: 22(int) Constant 2 54 24: TypeArray 21(fvec4) 23 55 25: TypePointer Output 24 56 26(p): 25(ptr) Variable Output 57 27: 16(int) Constant 1 58 28: TypePointer Input 21(fvec4) 59 29(pos): 28(ptr) Variable Input 60 31: TypePointer Input 6(float) 61 35: TypePointer Output 21(fvec4) 62 4(main): 2 Function None 3 63 5: Label 64 12: 7(fvec3) Load 11(color) 65 18: 10(ptr) AccessChain 15(s) 17 66 19: 7(fvec3) Load 18 67 20: 7(fvec3) FAdd 12 19 68 Store 9(c) 20 69 30: 21(fvec4) Load 29(pos) 70 32: 31(ptr) AccessChain 15(s) 27 71 33: 6(float) Load 32 72 34: 21(fvec4) VectorTimesScalar 30 33 73 36: 35(ptr) AccessChain 26(p) 27 74 Store 36 34 75 Return 76 FunctionEnd 77