aboutsummaryrefslogtreecommitdiff
path: root/Test/baseResults/hlsl.clip.frag.out
blob: 32cbb8bb8ce585c695c03c26f029499950c6302e (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
hlsl.clip.frag
Shader version: 500
gl_FragCoord origin is upper left
0:? Sequence
0:3  Function Definition: GetEntitySelectClip( ( temp float)
0:3    Function Parameters: 
0:?     Sequence
0:4      Branch: Return with expression
0:4        Constant:
0:4          1.000000
0:8  Function Definition: @main( ( temp 4-component vector of float)
0:8    Function Parameters: 
0:?     Sequence
0:9      Test condition and select ( temp void)
0:9        Condition
0:9        Compare Less Than ( temp bool)
0:9          Function Call: GetEntitySelectClip( ( temp float)
0:9          Constant:
0:9            0.000000
0:9        true case
0:9        Branch: Kill
0:11      Branch: Return with expression
0:11        Constant:
0:11          0.000000
0:11          0.000000
0:11          0.000000
0:11          0.000000
0:8  Function Definition: main( ( temp void)
0:8    Function Parameters: 
0:?     Sequence
0:8      move second child to first child ( temp 4-component vector of float)
0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
0:8        Function Call: @main( ( temp 4-component vector of float)
0:?   Linker Objects
0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)


Linked fragment stage:


Shader version: 500
gl_FragCoord origin is upper left
0:? Sequence
0:3  Function Definition: GetEntitySelectClip( ( temp float)
0:3    Function Parameters: 
0:?     Sequence
0:4      Branch: Return with expression
0:4        Constant:
0:4          1.000000
0:8  Function Definition: @main( ( temp 4-component vector of float)
0:8    Function Parameters: 
0:?     Sequence
0:9      Test condition and select ( temp void)
0:9        Condition
0:9        Compare Less Than ( temp bool)
0:9          Function Call: GetEntitySelectClip( ( temp float)
0:9          Constant:
0:9            0.000000
0:9        true case
0:9        Branch: Kill
0:11      Branch: Return with expression
0:11        Constant:
0:11          0.000000
0:11          0.000000
0:11          0.000000
0:11          0.000000
0:8  Function Definition: main( ( temp void)
0:8    Function Parameters: 
0:?     Sequence
0:8      move second child to first child ( temp 4-component vector of float)
0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
0:8        Function Call: @main( ( temp 4-component vector of float)
0:?   Linker Objects
0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)

// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 30

                              Capability Shader
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel Logical GLSL450
                              EntryPoint Fragment 4  "main" 28
                              ExecutionMode 4 OriginUpperLeft
                              Source HLSL 500
                              Name 4  "main"
                              Name 8  "GetEntitySelectClip("
                              Name 12  "@main("
                              Name 28  "@entryPointOutput"
                              Decorate 28(@entryPointOutput) Location 0
               2:             TypeVoid
               3:             TypeFunction 2
               6:             TypeFloat 32
               7:             TypeFunction 6(float)
              10:             TypeVector 6(float) 4
              11:             TypeFunction 10(fvec4)
              14:    6(float) Constant 1065353216
              18:    6(float) Constant 0
              19:             TypeBool
              24:   10(fvec4) ConstantComposite 18 18 18 18
              27:             TypePointer Output 10(fvec4)
28(@entryPointOutput):     27(ptr) Variable Output
         4(main):           2 Function None 3
               5:             Label
              29:   10(fvec4) FunctionCall 12(@main()
                              Store 28(@entryPointOutput) 29
                              Return
                              FunctionEnd
8(GetEntitySelectClip():    6(float) Function None 7
               9:             Label
                              ReturnValue 14
                              FunctionEnd
      12(@main():   10(fvec4) Function None 11
              13:             Label
              17:    6(float) FunctionCall 8(GetEntitySelectClip()
              20:    19(bool) FOrdLessThan 17 18
                              SelectionMerge 22 None
                              BranchConditional 20 21 22
              21:               Label
                                Kill
              22:             Label
                              ReturnValue 24
                              FunctionEnd