1spv.varyingArrayIndirect.frag 2// Module Version 10000 3// Generated by (magic number): 8000a 4// Id's are bound by 70 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Fragment 4 "main" 19 22 30 31 45 50 56 10 ExecutionMode 4 OriginUpperLeft 11 Source GLSL 140 12 Name 4 "main" 13 Name 9 "texColor" 14 Name 13 "texSampler2D" 15 Name 19 "userIn" 16 Name 22 "b" 17 Name 30 "TexCoord" 18 Name 31 "a" 19 Name 45 "color" 20 Name 50 "alpha" 21 Name 56 "gl_FragColor" 22 Decorate 13(texSampler2D) DescriptorSet 0 23 Decorate 13(texSampler2D) Binding 0 24 Decorate 19(userIn) Location 8 25 Decorate 22(b) Flat 26 Decorate 22(b) Location 11 27 Decorate 30(TexCoord) Location 2 28 Decorate 31(a) Flat 29 Decorate 31(a) Location 10 30 Decorate 45(color) Location 0 31 Decorate 50(alpha) Location 1 32 Decorate 56(gl_FragColor) Location 0 33 2: TypeVoid 34 3: TypeFunction 2 35 6: TypeFloat 32 36 7: TypeVector 6(float) 4 37 8: TypePointer Function 7(fvec4) 38 10: TypeImage 6(float) 2D sampled format:Unknown 39 11: TypeSampledImage 10 40 12: TypePointer UniformConstant 11 4113(texSampler2D): 12(ptr) Variable UniformConstant 42 15: TypeInt 32 0 43 16: 15(int) Constant 2 44 17: TypeArray 7(fvec4) 16 45 18: TypePointer Input 17 46 19(userIn): 18(ptr) Variable Input 47 20: TypeInt 32 1 48 21: TypePointer Input 20(int) 49 22(b): 21(ptr) Variable Input 50 24: TypePointer Input 7(fvec4) 51 27: 15(int) Constant 6 52 28: TypeArray 7(fvec4) 27 53 29: TypePointer Input 28 54 30(TexCoord): 29(ptr) Variable Input 55 31(a): 21(ptr) Variable Input 56 36: 20(int) Constant 5 57 40: TypeVector 6(float) 2 58 45(color): 24(ptr) Variable Input 59 49: TypePointer Input 6(float) 60 50(alpha): 49(ptr) Variable Input 61 52: 15(int) Constant 3 62 53: TypePointer Function 6(float) 63 55: TypePointer Output 7(fvec4) 6456(gl_FragColor): 55(ptr) Variable Output 65 57: 20(int) Constant 0 66 4(main): 2 Function None 3 67 5: Label 68 9(texColor): 8(ptr) Variable Function 69 14: 11 Load 13(texSampler2D) 70 23: 20(int) Load 22(b) 71 25: 24(ptr) AccessChain 19(userIn) 23 72 26: 7(fvec4) Load 25 73 32: 20(int) Load 31(a) 74 33: 24(ptr) AccessChain 30(TexCoord) 32 75 34: 7(fvec4) Load 33 76 35: 7(fvec4) FAdd 26 34 77 37: 24(ptr) AccessChain 30(TexCoord) 36 78 38: 7(fvec4) Load 37 79 39: 7(fvec4) FAdd 35 38 80 41: 6(float) CompositeExtract 39 0 81 42: 6(float) CompositeExtract 39 1 82 43: 40(fvec2) CompositeConstruct 41 42 83 44: 7(fvec4) ImageSampleImplicitLod 14 43 84 Store 9(texColor) 44 85 46: 7(fvec4) Load 45(color) 86 47: 7(fvec4) Load 9(texColor) 87 48: 7(fvec4) FAdd 47 46 88 Store 9(texColor) 48 89 51: 6(float) Load 50(alpha) 90 54: 53(ptr) AccessChain 9(texColor) 52 91 Store 54 51 92 58: 24(ptr) AccessChain 30(TexCoord) 57 93 59: 7(fvec4) Load 58 94 60: 20(int) Load 22(b) 95 61: 24(ptr) AccessChain 30(TexCoord) 60 96 62: 7(fvec4) Load 61 97 63: 7(fvec4) FAdd 59 62 98 64: 7(fvec4) Load 9(texColor) 99 65: 7(fvec4) FAdd 63 64 100 66: 20(int) Load 31(a) 101 67: 24(ptr) AccessChain 19(userIn) 66 102 68: 7(fvec4) Load 67 103 69: 7(fvec4) FAdd 65 68 104 Store 56(gl_FragColor) 69 105 Return 106 FunctionEnd 107