1 spv.300layout.frag 2 // Module Version 10000 3 // Generated by (magic number): 80007 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 12 RelaxedPrecision 25 MemberDecorate 13(S) 0 RelaxedPrecision 26 MemberDecorate 13(S) 1 RelaxedPrecision 27 Decorate 19 RelaxedPrecision 28 Decorate 20 RelaxedPrecision 29 Decorate 26(p) RelaxedPrecision 30 Decorate 26(p) Location 3 31 Decorate 29(pos) RelaxedPrecision 32 Decorate 30 RelaxedPrecision 33 Decorate 33 RelaxedPrecision 34 Decorate 34 RelaxedPrecision 35 2: TypeVoid 36 3: TypeFunction 2 37 6: TypeFloat 32 38 7: TypeVector 6(float) 3 39 8: TypePointer Output 7(fvec3) 40 9(c): 8(ptr) Variable Output 41 10: TypePointer Input 7(fvec3) 42 11(color): 10(ptr) Variable Input 43 13(S): TypeStruct 7(fvec3) 6(float) 44 14: TypePointer Input 13(S) 45 15(s): 14(ptr) Variable Input 46 16: TypeInt 32 1 47 17: 16(int) Constant 0 48 21: TypeVector 6(float) 4 49 22: TypeInt 32 0 50 23: 22(int) Constant 2 51 24: TypeArray 21(fvec4) 23 52 25: TypePointer Output 24 53 26(p): 25(ptr) Variable Output 54 27: 16(int) Constant 1 55 28: TypePointer Input 21(fvec4) 56 29(pos): 28(ptr) Variable Input 57 31: TypePointer Input 6(float) 58 35: TypePointer Output 21(fvec4) 59 4(main): 2 Function None 3 60 5: Label 61 12: 7(fvec3) Load 11(color) 62 18: 10(ptr) AccessChain 15(s) 17 63 19: 7(fvec3) Load 18 64 20: 7(fvec3) FAdd 12 19 65 Store 9(c) 20 66 30: 21(fvec4) Load 29(pos) 67 32: 31(ptr) AccessChain 15(s) 27 68 33: 6(float) Load 32 69 34: 21(fvec4) VectorTimesScalar 30 33 70 36: 35(ptr) AccessChain 26(p) 27 71 Store 36 34 72 Return 73 FunctionEnd 74