aboutsummaryrefslogtreecommitdiff
path: root/Test/baseResults/spv.prepost.frag.out
blob: 5fd6b3798c7dc5e3d730414800bd3dbb5f0e63d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
spv.prepost.frag
// Module Version 10000
// Generated by (magic number): 8000a
// Id's are bound by 94

                              Capability Shader
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel Logical GLSL450
                              EntryPoint Fragment 4  "main" 90
                              ExecutionMode 4 OriginUpperLeft
                              Source GLSL 140
                              Name 4  "main"
                              Name 8  "index"
                              Name 14  "s"
                              MemberName 14(s) 0  "y"
                              Name 16  "str"
                              Name 22  "t"
                              Name 50  "x"
                              Name 61  "y"
                              Name 66  "z"
                              Name 73  "v"
                              Name 90  "gl_FragColor"
                              Decorate 90(gl_FragColor) Location 0
               2:             TypeVoid
               3:             TypeFunction 2
               6:             TypeInt 32 1
               7:             TypePointer Function 6(int)
               9:      6(int) Constant 5
              10:             TypeFloat 32
              11:             TypeInt 32 0
              12:     11(int) Constant 5
              13:             TypeArray 10(float) 12
           14(s):             TypeStruct 13
              15:             TypePointer Function 14(s)
              17:      6(int) Constant 0
              18:      6(int) Constant 4
              19:   10(float) Constant 1073741824
              20:             TypePointer Function 10(float)
              24:      6(int) Constant 1
              28:   10(float) Constant 1065353216
              71:             TypeVector 10(float) 4
              72:             TypePointer Function 71(fvec4)
              74:   10(float) Constant 1077936128
              75:   10(float) Constant 1082130432
              76:   71(fvec4) ConstantComposite 28 19 74 75
              77:     11(int) Constant 2
              81:     11(int) Constant 1
              83:     11(int) Constant 3
              87:     11(int) Constant 0
              89:             TypePointer Output 71(fvec4)
90(gl_FragColor):     89(ptr) Variable Output
         4(main):           2 Function None 3
               5:             Label
        8(index):      7(ptr) Variable Function
         16(str):     15(ptr) Variable Function
           22(t):     20(ptr) Variable Function
           50(x):     20(ptr) Variable Function
           61(y):     20(ptr) Variable Function
           66(z):     20(ptr) Variable Function
           73(v):     72(ptr) Variable Function
                              Store 8(index) 9
              21:     20(ptr) AccessChain 16(str) 17 18
                              Store 21 19
              23:      6(int) Load 8(index)
              25:      6(int) ISub 23 24
                              Store 8(index) 25
              26:     20(ptr) AccessChain 16(str) 17 25
              27:   10(float) Load 26
              29:   10(float) FAdd 27 28
                              Store 26 29
                              Store 22(t) 29
              30:   10(float) Load 22(t)
              31:     20(ptr) AccessChain 16(str) 17 18
              32:   10(float) Load 31
              33:   10(float) FAdd 32 30
              34:     20(ptr) AccessChain 16(str) 17 18
                              Store 34 33
              35:     20(ptr) AccessChain 16(str) 17 18
              36:   10(float) Load 35
              37:   10(float) FSub 36 28
                              Store 35 37
                              Store 22(t) 36
              38:      6(int) Load 8(index)
              39:      6(int) IAdd 38 24
                              Store 8(index) 39
              40:   10(float) Load 22(t)
              41:     20(ptr) AccessChain 16(str) 17 38
              42:   10(float) Load 41
              43:   10(float) FAdd 42 40
              44:     20(ptr) AccessChain 16(str) 17 38
                              Store 44 43
              45:      6(int) Load 8(index)
              46:      6(int) ISub 45 24
                              Store 8(index) 46
              47:     20(ptr) AccessChain 16(str) 17 46
              48:   10(float) Load 47
              49:   10(float) FSub 48 28
                              Store 47 49
              51:     20(ptr) AccessChain 16(str) 17 18
              52:   10(float) Load 51
                              Store 50(x) 52
              53:   10(float) Load 50(x)
              54:   10(float) FAdd 53 28
                              Store 50(x) 54
              55:   10(float) Load 50(x)
              56:   10(float) FSub 55 28
                              Store 50(x) 56
              57:   10(float) Load 50(x)
              58:   10(float) FAdd 57 28
                              Store 50(x) 58
              59:   10(float) Load 50(x)
              60:   10(float) FSub 59 28
                              Store 50(x) 60
              62:   10(float) Load 50(x)
              63:   10(float) Load 50(x)
              64:   10(float) FAdd 63 28
                              Store 50(x) 64
              65:   10(float) FMul 62 64
                              Store 61(y) 65
              67:   10(float) Load 61(y)
              68:   10(float) Load 50(x)
              69:   10(float) FSub 68 28
                              Store 50(x) 69
              70:   10(float) FMul 67 68
                              Store 66(z) 70
                              Store 73(v) 76
              78:     20(ptr) AccessChain 73(v) 77
              79:   10(float) Load 78
              80:   10(float) FSub 79 28
                              Store 78 80
              82:     20(ptr) AccessChain 73(v) 81
                              Store 82 79
              84:     20(ptr) AccessChain 73(v) 83
              85:   10(float) Load 84
              86:   10(float) FSub 85 28
                              Store 84 86
              88:     20(ptr) AccessChain 73(v) 87
                              Store 88 86
              91:   10(float) Load 66(z)
              92:   71(fvec4) Load 73(v)
              93:   71(fvec4) VectorTimesScalar 92 91
                              Store 90(gl_FragColor) 93
                              Return
                              FunctionEnd