1remap.uniformarray.none.frag 2// Module Version 10000 3// Generated by (magic number): 80007 4// Id's are bound by 53 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Fragment 4 "main" 14 25 35 47 10 ExecutionMode 4 OriginUpperLeft 11 Source GLSL 140 12 Name 4 "main" 13 Name 9 "texColor" 14 Name 14 "color" 15 Name 25 "inColor" 16 Name 35 "alpha" 17 Name 47 "gl_FragColor" 18 Name 52 "texSampler2D" 19 Decorate 47(gl_FragColor) Location 0 20 Decorate 52(texSampler2D) DescriptorSet 0 21 2: TypeVoid 22 3: TypeFunction 2 23 6: TypeFloat 32 24 7: TypeVector 6(float) 4 25 8: TypePointer Function 7(fvec4) 26 10: TypeInt 32 0 27 11: 10(int) Constant 6 28 12: TypeArray 7(fvec4) 11 29 13: TypePointer Input 12 30 14(color): 13(ptr) Variable Input 31 15: TypeInt 32 1 32 16: 15(int) Constant 1 33 17: TypePointer Input 7(fvec4) 34 23: TypeVector 6(float) 3 35 24: TypePointer Input 23(fvec3) 36 25(inColor): 24(ptr) Variable Input 37 32: 10(int) Constant 16 38 33: TypeArray 6(float) 32 39 34: TypePointer Input 33 40 35(alpha): 34(ptr) Variable Input 41 36: 15(int) Constant 12 42 37: TypePointer Input 6(float) 43 40: 10(int) Constant 3 44 41: TypePointer Function 6(float) 45 46: TypePointer Output 7(fvec4) 4647(gl_FragColor): 46(ptr) Variable Output 47 49: TypeImage 6(float) 2D sampled format:Unknown 48 50: TypeSampledImage 49 49 51: TypePointer UniformConstant 50 5052(texSampler2D): 51(ptr) Variable UniformConstant 51 4(main): 2 Function None 3 52 5: Label 53 9(texColor): 8(ptr) Variable Function 54 18: 17(ptr) AccessChain 14(color) 16 55 19: 7(fvec4) Load 18 56 20: 17(ptr) AccessChain 14(color) 16 57 21: 7(fvec4) Load 20 58 22: 7(fvec4) FAdd 19 21 59 Store 9(texColor) 22 60 26: 23(fvec3) Load 25(inColor) 61 27: 7(fvec4) Load 9(texColor) 62 28: 23(fvec3) VectorShuffle 27 27 0 1 2 63 29: 23(fvec3) FAdd 28 26 64 30: 7(fvec4) Load 9(texColor) 65 31: 7(fvec4) VectorShuffle 30 29 4 5 6 3 66 Store 9(texColor) 31 67 38: 37(ptr) AccessChain 35(alpha) 36 68 39: 6(float) Load 38 69 42: 41(ptr) AccessChain 9(texColor) 40 70 43: 6(float) Load 42 71 44: 6(float) FAdd 43 39 72 45: 41(ptr) AccessChain 9(texColor) 40 73 Store 45 44 74 48: 7(fvec4) Load 9(texColor) 75 Store 47(gl_FragColor) 48 76 Return 77 FunctionEnd 78