564f0f4cf8b528e3c29084511f699ad2dca73a89
[platform/upstream/glslang.git] / Test / baseLegalResults / hlsl.intrinsics.evalfns.frag.out
1 hlsl.intrinsics.evalfns.frag
2 // Module Version 10000
3 // Generated by (magic number): 8000a
4 // Id's are bound by 274
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                8:             TypeVector 6(float) 2
33               10:             TypeVector 6(float) 3
34               12:             TypeVector 6(float) 4
35               14:             TypeInt 32 1
36               15:             TypeVector 14(int) 2
37               30:    6(float) Constant 3204448256
38               31:    6(float) Constant 3179282432
39               32:    8(fvec2) ConstantComposite 30 31
40               36:    6(float) Constant 0
41               37:    6(float) Constant 1031798784
42               38:    8(fvec2) ConstantComposite 36 37
43               42:    6(float) Constant 1044381696
44               43:    6(float) Constant 3200253952
45               44:    8(fvec2) ConstantComposite 42 43
46               48:    6(float) Constant 1054867456
47               49:    8(fvec2) ConstantComposite 48 30
48               53:     14(int) Constant 28
49               64:             TypeInt 32 0
50               65:     64(int) Constant 3
51              137:             TypePointer Input 6(float)
52        138(inF1):    137(ptr) Variable Input
53              141:             TypePointer Input 8(fvec2)
54        142(inF2):    141(ptr) Variable Input
55              145:             TypePointer Input 10(fvec3)
56        146(inF3):    145(ptr) Variable Input
57              149:             TypePointer Input 12(fvec4)
58        150(inF4):    149(ptr) Variable Input
59              153:             TypePointer Input 15(ivec2)
60        154(inI2):    153(ptr) Variable Input
61      157(i.vPos):    141(ptr) Variable Input
62              160:             TypePointer Output 12(fvec4)
63 161(@entryPointOutput):    160(ptr) Variable Output
64              273:   15(ivec2) ConstantComposite 53 53
65          4(main):           2 Function None 3
66                5:             Label
67              155:   15(ivec2) Load 154(inI2)
68              183:    6(float) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 138(inF1) 32
69              185:    8(fvec2) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 142(inF2) 38
70              187:   10(fvec3) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 146(inF3) 44
71              189:   12(fvec4) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 150(inF4) 49
72              193:   15(ivec2) ShiftLeftLogical 155 273
73              195:   15(ivec2) ShiftRightArithmetic 193 273
74              196:    8(fvec2) ConvertSToF 195
75              197:    8(fvec2) VectorTimesScalar 196 37
76              198:    6(float) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 138(inF1) 197
77              200:    6(float) FAdd 183 198
78              202:    6(float) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 138(inF1) 65
79              204:    6(float) FAdd 200 202
80              206:    8(fvec2) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 142(inF2) 65
81              208:    8(fvec2) FAdd 185 206
82              210:   10(fvec3) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 146(inF3) 65
83              212:   10(fvec3) FAdd 187 210
84              214:   12(fvec4) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 150(inF4) 65
85              216:   12(fvec4) FAdd 189 214
86              219:     14(int) CompositeExtract 155 0
87              220:     64(int) Bitcast 219
88              221:    6(float) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 138(inF1) 220
89              223:    6(float) FAdd 204 221
90              225:    6(float) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 138(inF1)
91              227:    6(float) FAdd 223 225
92              229:    8(fvec2) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 142(inF2)
93              231:    8(fvec2) FAdd 208 229
94              233:   10(fvec3) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 146(inF3)
95              235:   10(fvec3) FAdd 212 233
96              237:   12(fvec4) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 150(inF4)
97              239:   12(fvec4) FAdd 216 237
98              242:    8(fvec2) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 157(i.vPos) 38
99              244:    8(fvec2) FAdd 231 242
100              247:    8(fvec2) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 157(i.vPos) 65
101              249:    8(fvec2) FAdd 244 247
102              252:    8(fvec2) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 157(i.vPos)
103              254:    8(fvec2) FAdd 249 252
104              257:    6(float) CompositeExtract 254 1
105              259:    6(float) CompositeExtract 235 2
106              261:    6(float) CompositeExtract 239 3
107              262:   12(fvec4) CompositeConstruct 227 257 259 261
108                               Store 161(@entryPointOutput) 262
109                               Return
110                               FunctionEnd