LoopDawg | 6256146 | 2016-07-22 20:46:03 -0600 | [diff] [blame] | 1 | hlsl.pp.line.frag |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 2 | Shader version: 500 |
LoopDawg | 6256146 | 2016-07-22 20:46:03 -0600 | [diff] [blame] | 3 | gl_FragCoord origin is upper left |
| 4 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 5 | 0:4 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) |
LoopDawg | 6256146 | 2016-07-22 20:46:03 -0600 | [diff] [blame] | 6 | 0:4 Function Parameters: |
| 7 | 0:? Sequence |
| 8 | 0:124 Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 9 | 0:124 move second child to first child ( temp int) |
| 10 | 0:124 'thisLineIs' ( temp int) |
LoopDawg | 6256146 | 2016-07-22 20:46:03 -0600 | [diff] [blame] | 11 | 0:124 Constant: |
| 12 | 0:124 124 (const int) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 13 | 0:126 move second child to first child ( temp 4-component vector of float) |
| 14 | 0:126 Color: direct index for structure ( temp 4-component vector of float) |
| 15 | 0:126 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) |
LoopDawg | 6256146 | 2016-07-22 20:46:03 -0600 | [diff] [blame] | 16 | 0:126 Constant: |
| 17 | 0:126 0 (const int) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 18 | 0:? Construct vec4 ( temp 4-component vector of float) |
| 19 | 0:126 Convert int to float ( temp float) |
| 20 | 0:126 'thisLineIs' ( temp int) |
LoopDawg | 6256146 | 2016-07-22 20:46:03 -0600 | [diff] [blame] | 21 | 0:126 Constant: |
| 22 | 0:126 0.000000 |
| 23 | 0:126 Constant: |
| 24 | 0:126 0.000000 |
| 25 | 0:126 Constant: |
| 26 | 0:126 1.000000 |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 27 | 0:127 move second child to first child ( temp float) |
| 28 | 0:127 Depth: direct index for structure ( temp float) |
| 29 | 0:127 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) |
LoopDawg | 6256146 | 2016-07-22 20:46:03 -0600 | [diff] [blame] | 30 | 0:127 Constant: |
| 31 | 0:127 1 (const int) |
| 32 | 0:127 Constant: |
| 33 | 0:127 1.000000 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 34 | 0:129 Branch: Return with expression |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 35 | 0:129 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) |
| 36 | 0:4 Function Definition: main( ( temp void) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 37 | 0:4 Function Parameters: |
| 38 | 0:? Sequence |
| 39 | 0:4 Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 40 | 0:4 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth}) |
| 41 | 0:4 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) |
| 42 | 0:4 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) |
| 43 | 0:4 move second child to first child ( temp 4-component vector of float) |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 44 | 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 45 | 0:4 Color: direct index for structure ( temp 4-component vector of float) |
| 46 | 0:4 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 47 | 0:4 Constant: |
| 48 | 0:4 0 (const int) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 49 | 0:4 move second child to first child ( temp float) |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 50 | 0:? '@entryPointOutput.Depth' ( out float FragDepth) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 51 | 0:4 Depth: direct index for structure ( temp float) |
| 52 | 0:4 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 53 | 0:4 Constant: |
| 54 | 0:4 1 (const int) |
LoopDawg | 6256146 | 2016-07-22 20:46:03 -0600 | [diff] [blame] | 55 | 0:? Linker Objects |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 56 | 0:? '@entryPointOutput.Depth' ( out float FragDepth) |
| 57 | 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) |
LoopDawg | 6256146 | 2016-07-22 20:46:03 -0600 | [diff] [blame] | 58 | |
| 59 | |
| 60 | Linked fragment stage: |
| 61 | |
| 62 | |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 63 | Shader version: 500 |
LoopDawg | 6256146 | 2016-07-22 20:46:03 -0600 | [diff] [blame] | 64 | gl_FragCoord origin is upper left |
| 65 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 66 | 0:4 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) |
LoopDawg | 6256146 | 2016-07-22 20:46:03 -0600 | [diff] [blame] | 67 | 0:4 Function Parameters: |
| 68 | 0:? Sequence |
| 69 | 0:124 Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 70 | 0:124 move second child to first child ( temp int) |
| 71 | 0:124 'thisLineIs' ( temp int) |
LoopDawg | 6256146 | 2016-07-22 20:46:03 -0600 | [diff] [blame] | 72 | 0:124 Constant: |
| 73 | 0:124 124 (const int) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 74 | 0:126 move second child to first child ( temp 4-component vector of float) |
| 75 | 0:126 Color: direct index for structure ( temp 4-component vector of float) |
| 76 | 0:126 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) |
LoopDawg | 6256146 | 2016-07-22 20:46:03 -0600 | [diff] [blame] | 77 | 0:126 Constant: |
| 78 | 0:126 0 (const int) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 79 | 0:? Construct vec4 ( temp 4-component vector of float) |
| 80 | 0:126 Convert int to float ( temp float) |
| 81 | 0:126 'thisLineIs' ( temp int) |
LoopDawg | 6256146 | 2016-07-22 20:46:03 -0600 | [diff] [blame] | 82 | 0:126 Constant: |
| 83 | 0:126 0.000000 |
| 84 | 0:126 Constant: |
| 85 | 0:126 0.000000 |
| 86 | 0:126 Constant: |
| 87 | 0:126 1.000000 |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 88 | 0:127 move second child to first child ( temp float) |
| 89 | 0:127 Depth: direct index for structure ( temp float) |
| 90 | 0:127 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) |
LoopDawg | 6256146 | 2016-07-22 20:46:03 -0600 | [diff] [blame] | 91 | 0:127 Constant: |
| 92 | 0:127 1 (const int) |
| 93 | 0:127 Constant: |
| 94 | 0:127 1.000000 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 95 | 0:129 Branch: Return with expression |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 96 | 0:129 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) |
| 97 | 0:4 Function Definition: main( ( temp void) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 98 | 0:4 Function Parameters: |
| 99 | 0:? Sequence |
| 100 | 0:4 Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 101 | 0:4 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth}) |
| 102 | 0:4 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) |
| 103 | 0:4 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) |
| 104 | 0:4 move second child to first child ( temp 4-component vector of float) |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 105 | 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 106 | 0:4 Color: direct index for structure ( temp 4-component vector of float) |
| 107 | 0:4 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 108 | 0:4 Constant: |
| 109 | 0:4 0 (const int) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 110 | 0:4 move second child to first child ( temp float) |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 111 | 0:? '@entryPointOutput.Depth' ( out float FragDepth) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 112 | 0:4 Depth: direct index for structure ( temp float) |
| 113 | 0:4 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 114 | 0:4 Constant: |
| 115 | 0:4 1 (const int) |
LoopDawg | 6256146 | 2016-07-22 20:46:03 -0600 | [diff] [blame] | 116 | 0:? Linker Objects |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 117 | 0:? '@entryPointOutput.Depth' ( out float FragDepth) |
| 118 | 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) |
LoopDawg | 6256146 | 2016-07-22 20:46:03 -0600 | [diff] [blame] | 119 | |
| 120 | // Module Version 10000 |
| 121 | // Generated by (magic number): 80001 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 122 | // Id's are bound by 42 |
LoopDawg | 6256146 | 2016-07-22 20:46:03 -0600 | [diff] [blame] | 123 | |
| 124 | Capability Shader |
| 125 | 1: ExtInstImport "GLSL.std.450" |
| 126 | MemoryModel Logical GLSL450 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 127 | EntryPoint Fragment 4 "main" 35 39 |
LoopDawg | 6256146 | 2016-07-22 20:46:03 -0600 | [diff] [blame] | 128 | ExecutionMode 4 OriginUpperLeft |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 129 | Source HLSL 500 |
LoopDawg | 6256146 | 2016-07-22 20:46:03 -0600 | [diff] [blame] | 130 | Name 4 "main" |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 131 | Name 8 "PS_OUTPUT" |
| 132 | MemberName 8(PS_OUTPUT) 0 "Color" |
| 133 | MemberName 8(PS_OUTPUT) 1 "Depth" |
| 134 | Name 10 "@main(" |
| 135 | Name 14 "thisLineIs" |
| 136 | Name 17 "psout" |
| 137 | Name 32 "flattenTemp" |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 138 | Name 35 "@entryPointOutput.Color" |
| 139 | Name 39 "@entryPointOutput.Depth" |
| 140 | Decorate 35(@entryPointOutput.Color) Location 0 |
| 141 | Decorate 39(@entryPointOutput.Depth) BuiltIn FragDepth |
LoopDawg | 6256146 | 2016-07-22 20:46:03 -0600 | [diff] [blame] | 142 | 2: TypeVoid |
| 143 | 3: TypeFunction 2 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 144 | 6: TypeFloat 32 |
| 145 | 7: TypeVector 6(float) 4 |
| 146 | 8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float) |
| 147 | 9: TypeFunction 8(PS_OUTPUT) |
| 148 | 12: TypeInt 32 1 |
| 149 | 13: TypePointer Function 12(int) |
| 150 | 15: 12(int) Constant 124 |
| 151 | 16: TypePointer Function 8(PS_OUTPUT) |
| 152 | 18: 12(int) Constant 0 |
| 153 | 21: 6(float) Constant 0 |
| 154 | 22: 6(float) Constant 1065353216 |
| 155 | 24: TypePointer Function 7(fvec4) |
| 156 | 26: 12(int) Constant 1 |
| 157 | 27: TypePointer Function 6(float) |
| 158 | 34: TypePointer Output 7(fvec4) |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 159 | 35(@entryPointOutput.Color): 34(ptr) Variable Output |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 160 | 38: TypePointer Output 6(float) |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 161 | 39(@entryPointOutput.Depth): 38(ptr) Variable Output |
LoopDawg | 6256146 | 2016-07-22 20:46:03 -0600 | [diff] [blame] | 162 | 4(main): 2 Function None 3 |
| 163 | 5: Label |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 164 | 32(flattenTemp): 16(ptr) Variable Function |
| 165 | 33:8(PS_OUTPUT) FunctionCall 10(@main() |
| 166 | Store 32(flattenTemp) 33 |
| 167 | 36: 24(ptr) AccessChain 32(flattenTemp) 18 |
| 168 | 37: 7(fvec4) Load 36 |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 169 | Store 35(@entryPointOutput.Color) 37 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 170 | 40: 27(ptr) AccessChain 32(flattenTemp) 26 |
| 171 | 41: 6(float) Load 40 |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 172 | Store 39(@entryPointOutput.Depth) 41 |
John Kessenich | 6a70eb7 | 2016-08-28 15:00:23 -0600 | [diff] [blame] | 173 | Return |
LoopDawg | 6256146 | 2016-07-22 20:46:03 -0600 | [diff] [blame] | 174 | FunctionEnd |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 175 | 10(@main():8(PS_OUTPUT) Function None 9 |
| 176 | 11: Label |
| 177 | 14(thisLineIs): 13(ptr) Variable Function |
| 178 | 17(psout): 16(ptr) Variable Function |
| 179 | Store 14(thisLineIs) 15 |
| 180 | 19: 12(int) Load 14(thisLineIs) |
| 181 | 20: 6(float) ConvertSToF 19 |
| 182 | 23: 7(fvec4) CompositeConstruct 20 21 21 22 |
| 183 | 25: 24(ptr) AccessChain 17(psout) 18 |
| 184 | Store 25 23 |
| 185 | 28: 27(ptr) AccessChain 17(psout) 26 |
| 186 | Store 28 22 |
| 187 | 29:8(PS_OUTPUT) Load 17(psout) |
| 188 | ReturnValue 29 |
| 189 | FunctionEnd |