• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1remap.similar_1a.everything.frag
2// Module Version 10000
3// Generated by (magic number): 8000a
4// Id's are bound by 24916
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint Fragment 5663  "main" 4201 4539 3773
10                              ExecutionMode 5663 OriginUpperLeft
11                              Decorate 4201 Flat
12                              Decorate 4201 Location 1
13                              Decorate 4539 Location 0
14                              Decorate 3773 Location 0
15               8:             TypeVoid
16            1282:             TypeFunction 8
17              12:             TypeInt 32 1
18             649:             TypePointer Function 12(int)
19              13:             TypeFloat 32
20             204:             TypeFunction 13(float) 649(ptr)
21             650:             TypePointer Function 13(float)
22            2572:   13(float) Constant 0
23            2571:     12(int) Constant 0
24               9:             TypeBool
25             252:   13(float) Constant 1056964608
26            2574:     12(int) Constant 1
27            2577:     12(int) Constant 2
28              26:             TypeVector 12(int) 4
29             663:             TypePointer Input 26(ivec4)
30            4201:    663(ptr) Variable Input
31              11:             TypeInt 32 0
32            2573:     11(int) Constant 1
33             651:             TypePointer Input 12(int)
34            2576:     11(int) Constant 2
35            2570:     11(int) Constant 0
36              29:             TypeVector 13(float) 4
37             666:             TypePointer Output 29(fvec4)
38            4539:    666(ptr) Variable Output
39             652:             TypePointer Input 13(float)
40            3773:    652(ptr) Variable Input
41            5663:           8 Function None 1282
42           24915:             Label
43           18415:    649(ptr) Variable Function
44            5786:    649(ptr) Variable Function
45            8366:   13(float) Load 3773
46            8654:     12(int) ConvertFToS 8366
47                              Store 18415 8654
48           17256:   13(float) FunctionCall 3782 18415
49           14512:   13(float) Load 3773
50            7041:     12(int) ConvertFToS 14512
51                              Store 5786 7041
52           23993:   13(float) FunctionCall 3836 5786
53            9180:   13(float) FAdd 17256 23993
54           15728:   29(fvec4) CompositeConstruct 9180 9180 9180 9180
55                              Store 4539 15728
56                              Return
57                              FunctionEnd
58            3782:   13(float) Function None 204
59            6931:    649(ptr) FunctionParameter
60           12220:             Label
61            4292:    650(ptr) Variable Function
62            4298:    649(ptr) Variable Function
63                              Store 4292 2572
64                              Store 4298 2571
65                              Branch 14924
66           14924:             Label
67                              LoopMerge 8882 6488 None
68                              Branch 11857
69           11857:             Label
70           13755:     12(int) Load 4298
71           22731:     12(int) Load 6931
72           20007:     9(bool) SLessThan 13755 22731
73                              BranchConditional 20007 24750 8882
74           24750:               Label
75           22912:   13(float)   Load 4292
76           19471:   13(float)   FAdd 22912 252
77                                Store 4292 19471
78                                Branch 6488
79            6488:               Label
80           19050:     12(int)   Load 4298
81            8593:     12(int)   IAdd 19050 2574
82                                Store 4298 8593
83                                Branch 14924
84            8882:             Label
85           11601:   13(float) Load 4292
86                              ReturnValue 11601
87                              FunctionEnd
88            3836:   13(float) Function None 204
89            4408:    649(ptr) FunctionParameter
90           12143:             Label
91           22102:    649(ptr) Variable Function
92           24151:     12(int) Load 4408
93           13868:     9(bool) SGreaterThan 24151 2577
94                              SelectionMerge 14966 None
95                              BranchConditional 13868 9492 17416
96            9492:               Label
97           15624:     12(int)   Load 4408
98                                Store 22102 15624
99           17278:   13(float)   FunctionCall 3782 22102
100                                ReturnValue 17278
101           17416:               Label
102           19506:     12(int)   Load 4408
103           22773:     12(int)   IMul 19506 2577
104           13472:    651(ptr)   AccessChain 4201 2573
105           15280:     12(int)   Load 13472
106           18079:    651(ptr)   AccessChain 4201 2576
107           15199:     12(int)   Load 18079
108            9343:     12(int)   IMul 15280 15199
109           11462:     12(int)   IAdd 22773 9343
110           11885:    651(ptr)   AccessChain 4201 2570
111           21176:     12(int)   Load 11885
112           10505:     12(int)   IAdd 11462 21176
113           14626:   13(float)   ConvertSToF 10505
114                                ReturnValue 14626
115           14966:             Label
116                              Unreachable
117                              FunctionEnd
118