1spv.varyingArrayIndirect.frag 2// Module Version 10000 3// Generated by (magic number): 80007 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 22(b) Flat 24 Decorate 31(a) Flat 25 Decorate 56(gl_FragColor) Location 0 26 2: TypeVoid 27 3: TypeFunction 2 28 6: TypeFloat 32 29 7: TypeVector 6(float) 4 30 8: TypePointer Function 7(fvec4) 31 10: TypeImage 6(float) 2D sampled format:Unknown 32 11: TypeSampledImage 10 33 12: TypePointer UniformConstant 11 3413(texSampler2D): 12(ptr) Variable UniformConstant 35 15: TypeInt 32 0 36 16: 15(int) Constant 2 37 17: TypeArray 7(fvec4) 16 38 18: TypePointer Input 17 39 19(userIn): 18(ptr) Variable Input 40 20: TypeInt 32 1 41 21: TypePointer Input 20(int) 42 22(b): 21(ptr) Variable Input 43 24: TypePointer Input 7(fvec4) 44 27: 15(int) Constant 6 45 28: TypeArray 7(fvec4) 27 46 29: TypePointer Input 28 47 30(TexCoord): 29(ptr) Variable Input 48 31(a): 21(ptr) Variable Input 49 36: 20(int) Constant 5 50 40: TypeVector 6(float) 2 51 45(color): 24(ptr) Variable Input 52 49: TypePointer Input 6(float) 53 50(alpha): 49(ptr) Variable Input 54 52: 15(int) Constant 3 55 53: TypePointer Function 6(float) 56 55: TypePointer Output 7(fvec4) 5756(gl_FragColor): 55(ptr) Variable Output 58 57: 20(int) Constant 0 59 4(main): 2 Function None 3 60 5: Label 61 9(texColor): 8(ptr) Variable Function 62 14: 11 Load 13(texSampler2D) 63 23: 20(int) Load 22(b) 64 25: 24(ptr) AccessChain 19(userIn) 23 65 26: 7(fvec4) Load 25 66 32: 20(int) Load 31(a) 67 33: 24(ptr) AccessChain 30(TexCoord) 32 68 34: 7(fvec4) Load 33 69 35: 7(fvec4) FAdd 26 34 70 37: 24(ptr) AccessChain 30(TexCoord) 36 71 38: 7(fvec4) Load 37 72 39: 7(fvec4) FAdd 35 38 73 41: 6(float) CompositeExtract 39 0 74 42: 6(float) CompositeExtract 39 1 75 43: 40(fvec2) CompositeConstruct 41 42 76 44: 7(fvec4) ImageSampleImplicitLod 14 43 77 Store 9(texColor) 44 78 46: 7(fvec4) Load 45(color) 79 47: 7(fvec4) Load 9(texColor) 80 48: 7(fvec4) FAdd 47 46 81 Store 9(texColor) 48 82 51: 6(float) Load 50(alpha) 83 54: 53(ptr) AccessChain 9(texColor) 52 84 Store 54 51 85 58: 24(ptr) AccessChain 30(TexCoord) 57 86 59: 7(fvec4) Load 58 87 60: 20(int) Load 22(b) 88 61: 24(ptr) AccessChain 30(TexCoord) 60 89 62: 7(fvec4) Load 61 90 63: 7(fvec4) FAdd 59 62 91 64: 7(fvec4) Load 9(texColor) 92 65: 7(fvec4) FAdd 63 64 93 66: 20(int) Load 31(a) 94 67: 24(ptr) AccessChain 19(userIn) 66 95 68: 7(fvec4) Load 67 96 69: 7(fvec4) FAdd 65 68 97 Store 56(gl_FragColor) 69 98 Return 99 FunctionEnd 100