summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/Test/baseResults/hlsl.precedence2.frag.out
blob: 73d500d3c73137d272b2e14807a2dff8af556c4a (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
hlsl.precedence2.frag
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:10  Function Definition: PixelShaderFunction(i1;i1;i1;i1; (temp int)
0:7    Function Parameters: 
0:7      'a1' (temp int)
0:7      'a2' (temp int)
0:7      'a3' (temp int)
0:7      'a4' (temp int)
0:?     Sequence
0:8      Branch: Return with expression
0:8        add (temp int)
0:8          left-shift (temp int)
0:8            add (temp int)
0:8              component-wise multiply (temp int)
0:8                'a1' (temp int)
0:8                'a2' (temp int)
0:8              'a3' (temp int)
0:8            'a4' (temp int)
0:8          left-shift (temp int)
0:8            'a1' (temp int)
0:8            add (temp int)
0:8              'a2' (temp int)
0:8              component-wise multiply (temp int)
0:8                'a3' (temp int)
0:8                'a4' (temp int)
0:?   Linker Objects


Linked fragment stage:


Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:10  Function Definition: PixelShaderFunction(i1;i1;i1;i1; (temp int)
0:7    Function Parameters: 
0:7      'a1' (temp int)
0:7      'a2' (temp int)
0:7      'a3' (temp int)
0:7      'a4' (temp int)
0:?     Sequence
0:8      Branch: Return with expression
0:8        add (temp int)
0:8          left-shift (temp int)
0:8            add (temp int)
0:8              component-wise multiply (temp int)
0:8                'a1' (temp int)
0:8                'a2' (temp int)
0:8              'a3' (temp int)
0:8            'a4' (temp int)
0:8          left-shift (temp int)
0:8            'a1' (temp int)
0:8            add (temp int)
0:8              'a2' (temp int)
0:8              component-wise multiply (temp int)
0:8                'a3' (temp int)
0:8                'a4' (temp int)
0:?   Linker Objects

// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 28

                              Capability Shader
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel Logical GLSL450
                              EntryPoint Fragment 4  "PixelShaderFunction"
                              ExecutionMode 4 OriginUpperLeft
                              Source HLSL 450
                              Name 4  "PixelShaderFunction"
                              Name 8  "a1"
                              Name 10  "a2"
                              Name 13  "a3"
                              Name 16  "a4"
               2:             TypeVoid
               3:             TypeFunction 2
               6:             TypeInt 32 1
               7:             TypePointer Function 6(int)
4(PixelShaderFunction):           2 Function None 3
               5:             Label
           8(a1):      7(ptr) Variable Function
          10(a2):      7(ptr) Variable Function
          13(a3):      7(ptr) Variable Function
          16(a4):      7(ptr) Variable Function
               9:      6(int) Load 8(a1)
              11:      6(int) Load 10(a2)
              12:      6(int) IMul 9 11
              14:      6(int) Load 13(a3)
              15:      6(int) IAdd 12 14
              17:      6(int) Load 16(a4)
              18:      6(int) ShiftLeftLogical 15 17
              19:      6(int) Load 8(a1)
              20:      6(int) Load 10(a2)
              21:      6(int) Load 13(a3)
              22:      6(int) Load 16(a4)
              23:      6(int) IMul 21 22
              24:      6(int) IAdd 20 23
              25:      6(int) ShiftLeftLogical 19 24
              26:      6(int) IAdd 18 25
                              ReturnValue 26
                              FunctionEnd