blob: e29497235e98b03423802b4b4cd50c0914d7e619 [file] [log] [blame]
Dejan Mircevskic8fbbab2016-01-11 14:48:36 -05001spv.whileLoop.frag
John Kessenich2b5ea9f2018-01-31 18:35:56 -07002// Module Version 10000
John Kessenichd6c97552018-06-04 15:33:31 -06003// Generated by (magic number): 80007
John Kessenich6c292d32016-02-15 20:58:50 -07004// Id's are bound by 35
Dejan Mircevskic8fbbab2016-01-11 14:48:36 -05005
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" 11 24 28 33
10 ExecutionMode 4 OriginUpperLeft
John Kessenichf6eae2a2016-01-22 17:47:22 -070011 Source GLSL 140
Dejan Mircevskic8fbbab2016-01-11 14:48:36 -050012 Name 4 "main"
13 Name 9 "color"
14 Name 11 "BaseColor"
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050015 Name 24 "d"
John Kessenich6c292d32016-02-15 20:58:50 -070016 Name 28 "bigColor"
17 Name 33 "gl_FragColor"
John Kessenich2c6f48b2017-05-20 13:23:25 -060018 Decorate 33(gl_FragColor) Location 0
Dejan Mircevskic8fbbab2016-01-11 14:48:36 -050019 2: TypeVoid
20 3: TypeFunction 2
21 6: TypeFloat 32
22 7: TypeVector 6(float) 4
23 8: TypePointer Function 7(fvec4)
24 10: TypePointer Input 7(fvec4)
25 11(BaseColor): 10(ptr) Variable Input
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050026 18: TypeInt 32 0
27 19: 18(int) Constant 0
28 20: TypePointer Function 6(float)
John Kessenich6c292d32016-02-15 20:58:50 -070029 23: TypePointer Input 6(float)
30 24(d): 23(ptr) Variable Input
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050031 26: TypeBool
John Kessenich6c292d32016-02-15 20:58:50 -070032 28(bigColor): 10(ptr) Variable Input
33 32: TypePointer Output 7(fvec4)
3433(gl_FragColor): 32(ptr) Variable Output
Dejan Mircevskic8fbbab2016-01-11 14:48:36 -050035 4(main): 2 Function None 3
36 5: Label
37 9(color): 8(ptr) Variable Function
38 12: 7(fvec4) Load 11(BaseColor)
39 Store 9(color) 12
Dejan Mircevski832c65c2016-01-11 15:57:11 -050040 Branch 13
Dejan Mircevskic8fbbab2016-01-11 14:48:36 -050041 13: Label
Dejan Mircevski832c65c2016-01-11 15:57:11 -050042 LoopMerge 15 16 None
Dejan Mircevski213bbbe2016-01-20 11:51:43 -050043 Branch 17
44 17: Label
45 21: 20(ptr) AccessChain 9(color) 19
46 22: 6(float) Load 21
47 25: 6(float) Load 24(d)
48 27: 26(bool) FOrdLessThan 22 25
49 BranchConditional 27 14 15
Dejan Mircevski832c65c2016-01-11 15:57:11 -050050 14: Label
John Kessenich6c292d32016-02-15 20:58:50 -070051 29: 7(fvec4) Load 28(bigColor)
52 30: 7(fvec4) Load 9(color)
53 31: 7(fvec4) FAdd 30 29
54 Store 9(color) 31
Dejan Mircevski832c65c2016-01-11 15:57:11 -050055 Branch 16
Dejan Mircevskie7f6cac2016-01-19 16:47:41 -050056 16: Label
John Kessenichcc16fa02015-12-10 18:01:54 -070057 Branch 13
Dejan Mircevski832c65c2016-01-11 15:57:11 -050058 15: Label
John Kessenich6c292d32016-02-15 20:58:50 -070059 34: 7(fvec4) Load 9(color)
60 Store 33(gl_FragColor) 34
Dejan Mircevski832c65c2016-01-11 15:57:11 -050061 Return
Dejan Mircevski832c65c2016-01-11 15:57:11 -050062 FunctionEnd