blob: 81343834dc2b3381a13bfde6440c3d28960a7604 [file] [log] [blame]
John Kessenichcc16fa02015-12-10 18:01:54 -07001spv.uniformArray.frag
John Kessenich2b5ea9f2018-01-31 18:35:56 -07002// Module Version 10000
Graeme Leese182ab462020-06-22 11:49:38 +01003// Generated by (magic number): 8000a
John Kessenichcc16fa02015-12-10 18:01:54 -07004// Id's are bound by 53
5
6 Capability Shader
7 1: ExtInstImport "GLSL.std.450"
8 MemoryModel Logical GLSL450
John Kessenich6c292d32016-02-15 20:58:50 -07009 EntryPoint Fragment 4 "main" 14 25 35 47
10 ExecutionMode 4 OriginUpperLeft
John Kessenichf6eae2a2016-01-22 17:47:22 -070011 Source GLSL 140
John Kessenichcc16fa02015-12-10 18:01:54 -070012 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"
John Kessenichf6facfa2020-07-01 06:30:16 -060019 Decorate 14(color) Location 1
20 Decorate 25(inColor) Location 0
21 Decorate 35(alpha) Location 7
John Kessenich2c6f48b2017-05-20 13:23:25 -060022 Decorate 47(gl_FragColor) Location 0
John Kessenich6c292d32016-02-15 20:58:50 -070023 Decorate 52(texSampler2D) DescriptorSet 0
Jeff Bolz0a93cfb2018-12-11 20:53:59 -060024 Decorate 52(texSampler2D) Binding 0
John Kessenichcc16fa02015-12-10 18:01:54 -070025 2: TypeVoid
26 3: TypeFunction 2
27 6: TypeFloat 32
28 7: TypeVector 6(float) 4
29 8: TypePointer Function 7(fvec4)
30 10: TypeInt 32 0
31 11: 10(int) Constant 6
32 12: TypeArray 7(fvec4) 11
John Kessenich6c292d32016-02-15 20:58:50 -070033 13: TypePointer Input 12
34 14(color): 13(ptr) Variable Input
John Kessenichcc16fa02015-12-10 18:01:54 -070035 15: TypeInt 32 1
36 16: 15(int) Constant 1
John Kessenich6c292d32016-02-15 20:58:50 -070037 17: TypePointer Input 7(fvec4)
John Kessenichcc16fa02015-12-10 18:01:54 -070038 23: TypeVector 6(float) 3
John Kessenich6c292d32016-02-15 20:58:50 -070039 24: TypePointer Input 23(fvec3)
40 25(inColor): 24(ptr) Variable Input
John Kessenichcc16fa02015-12-10 18:01:54 -070041 32: 10(int) Constant 16
42 33: TypeArray 6(float) 32
John Kessenich6c292d32016-02-15 20:58:50 -070043 34: TypePointer Input 33
44 35(alpha): 34(ptr) Variable Input
John Kessenichcc16fa02015-12-10 18:01:54 -070045 36: 15(int) Constant 12
John Kessenich6c292d32016-02-15 20:58:50 -070046 37: TypePointer Input 6(float)
John Kessenichcc16fa02015-12-10 18:01:54 -070047 40: 10(int) Constant 3
48 41: TypePointer Function 6(float)
49 46: TypePointer Output 7(fvec4)
5047(gl_FragColor): 46(ptr) Variable Output
51 49: TypeImage 6(float) 2D sampled format:Unknown
52 50: TypeSampledImage 49
53 51: TypePointer UniformConstant 50
5452(texSampler2D): 51(ptr) Variable UniformConstant
55 4(main): 2 Function None 3
56 5: Label
57 9(texColor): 8(ptr) Variable Function
58 18: 17(ptr) AccessChain 14(color) 16
59 19: 7(fvec4) Load 18
60 20: 17(ptr) AccessChain 14(color) 16
61 21: 7(fvec4) Load 20
62 22: 7(fvec4) FAdd 19 21
63 Store 9(texColor) 22
64 26: 23(fvec3) Load 25(inColor)
65 27: 7(fvec4) Load 9(texColor)
66 28: 23(fvec3) VectorShuffle 27 27 0 1 2
67 29: 23(fvec3) FAdd 28 26
68 30: 7(fvec4) Load 9(texColor)
69 31: 7(fvec4) VectorShuffle 30 29 4 5 6 3
70 Store 9(texColor) 31
71 38: 37(ptr) AccessChain 35(alpha) 36
72 39: 6(float) Load 38
73 42: 41(ptr) AccessChain 9(texColor) 40
74 43: 6(float) Load 42
75 44: 6(float) FAdd 43 39
76 45: 41(ptr) AccessChain 9(texColor) 40
77 Store 45 44
78 48: 7(fvec4) Load 9(texColor)
79 Store 47(gl_FragColor) 48
80 Return
81 FunctionEnd