yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

ifrforspirv: use the lists of optimization passes from spirv-tools6a0d48e4

main
7.0 KiB133 linesraw
1hlsl.intrinsics.evalfns.frag
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 271
5
6                              Capability Shader
7                              Capability InterpolationFunction
8               1:             ExtInstImport  "GLSL.std.450"
9                              MemoryModel Logical GLSL450
10                              EntryPoint Fragment 4  "main" 138 142 146 150 154 157 161
11                              ExecutionMode 4 OriginUpperLeft
12                              Source HLSL 500
13                              Name 4  "main"
14                              Name 138  "inF1"
15                              Name 142  "inF2"
16                              Name 146  "inF3"
17                              Name 150  "inF4"
18                              Name 154  "inI2"
19                              Name 157  "i.vPos"
20                              Name 161  "@entryPointOutput"
21                              Decorate 138(inF1) Location 0
22                              Decorate 142(inF2) Location 1
23                              Decorate 146(inF3) Location 2
24                              Decorate 150(inF4) Location 3
25                              Decorate 154(inI2) Flat
26                              Decorate 154(inI2) Location 4
27                              Decorate 157(i.vPos) Location 5
28                              Decorate 161(@entryPointOutput) Location 0
29               2:             TypeVoid
30               3:             TypeFunction 2
31               6:             TypeFloat 32
32               7:             TypePointer Function 6(float)
33               8:             TypeVector 6(float) 2
34               9:             TypePointer Function 8(fvec2)
35              10:             TypeVector 6(float) 3
36              11:             TypePointer Function 10(fvec3)
37              12:             TypeVector 6(float) 4
38              13:             TypePointer Function 12(fvec4)
39              14:             TypeInt 32 1
40              15:             TypeVector 14(int) 2
41              30:    6(float) Constant 3204448256
42              31:    6(float) Constant 3179282432
43              32:    8(fvec2) ConstantComposite 30 31
44              36:    6(float) Constant 0
45              37:    6(float) Constant 1031798784
46              38:    8(fvec2) ConstantComposite 36 37
47              42:    6(float) Constant 1044381696
48              43:    6(float) Constant 3200253952
49              44:    8(fvec2) ConstantComposite 42 43
50              48:    6(float) Constant 1054867456
51              49:    8(fvec2) ConstantComposite 48 30
52              53:     14(int) Constant 28
53              64:             TypeInt 32 0
54              65:     64(int) Constant 3
55              82:     64(int) Constant 0
56             124:     64(int) Constant 1
57             127:     64(int) Constant 2
58             137:             TypePointer Input 6(float)
59       138(inF1):    137(ptr) Variable Input
60             141:             TypePointer Input 8(fvec2)
61       142(inF2):    141(ptr) Variable Input
62             145:             TypePointer Input 10(fvec3)
63       146(inF3):    145(ptr) Variable Input
64             149:             TypePointer Input 12(fvec4)
65       150(inF4):    149(ptr) Variable Input
66             153:             TypePointer Input 15(ivec2)
67       154(inI2):    153(ptr) Variable Input
68     157(i.vPos):    141(ptr) Variable Input
69             160:             TypePointer Output 12(fvec4)
70161(@entryPointOutput):    160(ptr) Variable Output
71             269:   15(ivec2) ConstantComposite 53 53
72             270:             TypePointer Input 14(int)
73         4(main):           2 Function None 3
74               5:             Label
75             176:      9(ptr) Variable Function
76             177:     11(ptr) Variable Function
77             178:     13(ptr) Variable Function
78             139:    6(float) Load 138(inF1)
79             143:    8(fvec2) Load 142(inF2)
80             147:   10(fvec3) Load 146(inF3)
81             151:   12(fvec4) Load 150(inF4)
82             155:   15(ivec2) Load 154(inI2)
83             158:    8(fvec2) Load 157(i.vPos)
84             183:    6(float) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 138(inF1) 32
85             185:    8(fvec2) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 142(inF2) 38
86             187:   10(fvec3) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 146(inF3) 44
87             189:   12(fvec4) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 150(inF4) 49
88             193:   15(ivec2) ShiftLeftLogical 155 269
89             195:   15(ivec2) ShiftRightArithmetic 193 269
90             196:    8(fvec2) ConvertSToF 195
91             197:    8(fvec2) VectorTimesScalar 196 37
92             198:    6(float) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 138(inF1) 197
93             200:    6(float) FAdd 183 198
94             202:    6(float) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 138(inF1) 65
95             204:    6(float) FAdd 200 202
96             206:    8(fvec2) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 142(inF2) 65
97             208:    8(fvec2) FAdd 185 206
98             210:   10(fvec3) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 146(inF3) 65
99             212:   10(fvec3) FAdd 187 210
100             214:   12(fvec4) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 150(inF4) 65
101             216:   12(fvec4) FAdd 189 214
102             218:    270(ptr) AccessChain 154(inI2) 82
103             219:     14(int) Load 218
104             220:     64(int) Bitcast 219
105             221:    6(float) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 138(inF1) 220
106             223:    6(float) FAdd 204 221
107             225:    6(float) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 138(inF1)
108             227:    6(float) FAdd 223 225
109             229:    8(fvec2) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 142(inF2)
110             231:    8(fvec2) FAdd 208 229
111             233:   10(fvec3) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 146(inF3)
112             235:   10(fvec3) FAdd 212 233
113                              Store 177 235
114             237:   12(fvec4) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 150(inF4)
115             239:   12(fvec4) FAdd 216 237
116                              Store 178 239
117             242:    8(fvec2) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 157(i.vPos) 38
118             244:    8(fvec2) FAdd 231 242
119             247:    8(fvec2) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 157(i.vPos) 65
120             249:    8(fvec2) FAdd 244 247
121             252:    8(fvec2) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 157(i.vPos)
122             254:    8(fvec2) FAdd 249 252
123                              Store 176 254
124             256:      7(ptr) AccessChain 176 124
125             257:    6(float) Load 256
126             258:      7(ptr) AccessChain 177 127
127             259:    6(float) Load 258
128             260:      7(ptr) AccessChain 178 65
129             261:    6(float) Load 260
130             262:   12(fvec4) CompositeConstruct 227 257 259 261
131                              Store 161(@entryPointOutput) 262
132                              Return
133                              FunctionEnd