1spv.funcall.array.frag 2// Module Version 10000 3// Generated by (magic number): 8000b 4// Id's are bound by 66 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Fragment 4 "main" 27 10 ExecutionMode 4 OriginUpperLeft 11 Source GLSL 450 12 Name 4 "main" 13 Name 16 "f(vf4[9];i1;" 14 Name 14 "a" 15 Name 15 "ix" 16 Name 20 "indexable" 17 Name 27 "color" 18 Name 29 "ub" 19 MemberName 29(ub) 0 "u" 20 Name 31 "" 21 Name 37 "arg" 22 Name 64 "param" 23 Decorate 27(color) Location 0 24 Decorate 28 ArrayStride 16 25 Decorate 29(ub) Block 26 MemberDecorate 29(ub) 0 Offset 0 27 Decorate 31 Binding 0 28 Decorate 31 DescriptorSet 0 29 2: TypeVoid 30 3: TypeFunction 2 31 6: TypeFloat 32 32 7: TypeVector 6(float) 4 33 8: TypeInt 32 0 34 9: 8(int) Constant 9 35 10: TypeArray 7(fvec4) 9 36 11: TypeInt 32 1 37 12: TypePointer Function 11(int) 38 13: TypeFunction 7(fvec4) 10 12(ptr) 39 19: TypePointer Function 10 40 21: TypePointer Function 7(fvec4) 41 26: TypePointer Output 7(fvec4) 42 27(color): 26(ptr) Variable Output 43 28: TypeArray 7(fvec4) 9 44 29(ub): TypeStruct 28 45 30: TypePointer Uniform 29(ub) 46 31: 30(ptr) Variable Uniform 47 32: 11(int) Constant 0 48 33: TypePointer Uniform 28 49 36: 11(int) Constant 2 50 41: 11(int) Constant 1 51 46: 11(int) Constant 3 52 49: 11(int) Constant 4 53 52: 11(int) Constant 5 54 55: 11(int) Constant 6 55 58: 11(int) Constant 7 56 61: 11(int) Constant 8 57 4(main): 2 Function None 3 58 5: Label 59 37(arg): 19(ptr) Variable Function 60 64(param): 12(ptr) Variable Function 61 34: 33(ptr) AccessChain 31 32 62 35: 28 Load 34 63 38: 7(fvec4) CompositeExtract 35 0 64 39: 21(ptr) AccessChain 37(arg) 32 65 Store 39 38 66 40: 7(fvec4) CompositeExtract 35 1 67 42: 21(ptr) AccessChain 37(arg) 41 68 Store 42 40 69 43: 7(fvec4) CompositeExtract 35 2 70 44: 21(ptr) AccessChain 37(arg) 36 71 Store 44 43 72 45: 7(fvec4) CompositeExtract 35 3 73 47: 21(ptr) AccessChain 37(arg) 46 74 Store 47 45 75 48: 7(fvec4) CompositeExtract 35 4 76 50: 21(ptr) AccessChain 37(arg) 49 77 Store 50 48 78 51: 7(fvec4) CompositeExtract 35 5 79 53: 21(ptr) AccessChain 37(arg) 52 80 Store 53 51 81 54: 7(fvec4) CompositeExtract 35 6 82 56: 21(ptr) AccessChain 37(arg) 55 83 Store 56 54 84 57: 7(fvec4) CompositeExtract 35 7 85 59: 21(ptr) AccessChain 37(arg) 58 86 Store 59 57 87 60: 7(fvec4) CompositeExtract 35 8 88 62: 21(ptr) AccessChain 37(arg) 61 89 Store 62 60 90 63: 10 Load 37(arg) 91 Store 64(param) 36 92 65: 7(fvec4) FunctionCall 16(f(vf4[9];i1;) 63 64(param) 93 Store 27(color) 65 94 Return 95 FunctionEnd 9616(f(vf4[9];i1;): 7(fvec4) Function None 13 97 14(a): 10 FunctionParameter 98 15(ix): 12(ptr) FunctionParameter 99 17: Label 100 20(indexable): 19(ptr) Variable Function 101 18: 11(int) Load 15(ix) 102 Store 20(indexable) 14(a) 103 22: 21(ptr) AccessChain 20(indexable) 18 104 23: 7(fvec4) Load 22 105 ReturnValue 23 106 FunctionEnd 107