steve-lunarg | 5964c64 | 2016-07-30 07:38:55 -0600 | [diff] [blame] | 1 | hlsl.constructexpr.frag |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 2 | Shader version: 500 |
steve-lunarg | 5964c64 | 2016-07-30 07:38:55 -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}) |
steve-lunarg | 5964c64 | 2016-07-30 07:38:55 -0600 | [diff] [blame] | 6 | 0:4 Function Parameters: |
| 7 | 0:? Sequence |
| 8 | 0:6 Constant: |
| 9 | 0:6 3 (const int) |
| 10 | 0:7 Constant: |
| 11 | 0:7 4 (const int) |
| 12 | 0:8 Constant: |
| 13 | 0:8 5 (const int) |
| 14 | 0:9 Constant: |
| 15 | 0:9 6 (const int) |
| 16 | 0:10 Constant: |
| 17 | 0:10 7 (const int) |
| 18 | 0:11 Constant: |
| 19 | 0:11 8 (const int) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 20 | 0:12 Comma ( temp 2-component vector of float) |
steve-lunarg | 5964c64 | 2016-07-30 07:38:55 -0600 | [diff] [blame] | 21 | 0:? Constant: |
| 22 | 0:? 9.000000 |
| 23 | 0:? 10.000000 |
| 24 | 0:? Constant: |
| 25 | 0:? 11.000000 |
| 26 | 0:? 12.000000 |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 27 | 0:15 move second child to first child ( temp 4-component vector of float) |
| 28 | 0:15 color: direct index for structure ( temp 4-component vector of float) |
| 29 | 0:15 'ps_output' ( temp structure{ temp 4-component vector of float color}) |
steve-lunarg | 5964c64 | 2016-07-30 07:38:55 -0600 | [diff] [blame] | 30 | 0:15 Constant: |
| 31 | 0:15 0 (const int) |
| 32 | 0:15 Constant: |
| 33 | 0:15 1.000000 |
| 34 | 0:15 1.000000 |
| 35 | 0:15 1.000000 |
| 36 | 0:15 1.000000 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 37 | 0:16 Branch: Return with expression |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 38 | 0:16 'ps_output' ( temp structure{ temp 4-component vector of float color}) |
| 39 | 0:4 Function Definition: main( ( temp void) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 40 | 0:4 Function Parameters: |
| 41 | 0:? Sequence |
| 42 | 0:4 Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 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 Function Call: @main( ( temp structure{ temp 4-component vector of float color}) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 47 | 0:4 Constant: |
| 48 | 0:4 0 (const int) |
steve-lunarg | 5964c64 | 2016-07-30 07:38:55 -0600 | [diff] [blame] | 49 | 0:? Linker Objects |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 50 | 0:? '@entryPointOutput.color' (layout( location=0) out 4-component vector of float) |
steve-lunarg | 5964c64 | 2016-07-30 07:38:55 -0600 | [diff] [blame] | 51 | |
| 52 | |
| 53 | Linked fragment stage: |
| 54 | |
| 55 | |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 56 | Shader version: 500 |
steve-lunarg | 5964c64 | 2016-07-30 07:38:55 -0600 | [diff] [blame] | 57 | gl_FragCoord origin is upper left |
| 58 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 59 | 0:4 Function Definition: @main( ( temp structure{ temp 4-component vector of float color}) |
steve-lunarg | 5964c64 | 2016-07-30 07:38:55 -0600 | [diff] [blame] | 60 | 0:4 Function Parameters: |
| 61 | 0:? Sequence |
| 62 | 0:6 Constant: |
| 63 | 0:6 3 (const int) |
| 64 | 0:7 Constant: |
| 65 | 0:7 4 (const int) |
| 66 | 0:8 Constant: |
| 67 | 0:8 5 (const int) |
| 68 | 0:9 Constant: |
| 69 | 0:9 6 (const int) |
| 70 | 0:10 Constant: |
| 71 | 0:10 7 (const int) |
| 72 | 0:11 Constant: |
| 73 | 0:11 8 (const int) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 74 | 0:12 Comma ( temp 2-component vector of float) |
steve-lunarg | 5964c64 | 2016-07-30 07:38:55 -0600 | [diff] [blame] | 75 | 0:? Constant: |
| 76 | 0:? 9.000000 |
| 77 | 0:? 10.000000 |
| 78 | 0:? Constant: |
| 79 | 0:? 11.000000 |
| 80 | 0:? 12.000000 |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 81 | 0:15 move second child to first child ( temp 4-component vector of float) |
| 82 | 0:15 color: direct index for structure ( temp 4-component vector of float) |
| 83 | 0:15 'ps_output' ( temp structure{ temp 4-component vector of float color}) |
steve-lunarg | 5964c64 | 2016-07-30 07:38:55 -0600 | [diff] [blame] | 84 | 0:15 Constant: |
| 85 | 0:15 0 (const int) |
| 86 | 0:15 Constant: |
| 87 | 0:15 1.000000 |
| 88 | 0:15 1.000000 |
| 89 | 0:15 1.000000 |
| 90 | 0:15 1.000000 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 91 | 0:16 Branch: Return with expression |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 92 | 0:16 'ps_output' ( temp structure{ temp 4-component vector of float color}) |
| 93 | 0:4 Function Definition: main( ( temp void) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 94 | 0:4 Function Parameters: |
| 95 | 0:? Sequence |
| 96 | 0:4 Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 97 | 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] | 98 | 0:? '@entryPointOutput.color' (layout( location=0) out 4-component vector of float) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 99 | 0:4 color: direct index for structure ( temp 4-component vector of float) |
| 100 | 0:4 Function Call: @main( ( temp structure{ temp 4-component vector of float color}) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 101 | 0:4 Constant: |
| 102 | 0:4 0 (const int) |
steve-lunarg | 5964c64 | 2016-07-30 07:38:55 -0600 | [diff] [blame] | 103 | 0:? Linker Objects |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 104 | 0:? '@entryPointOutput.color' (layout( location=0) out 4-component vector of float) |
steve-lunarg | 5964c64 | 2016-07-30 07:38:55 -0600 | [diff] [blame] | 105 | |
John Kessenich | 2b5ea9f | 2018-01-31 18:35:56 -0700 | [diff] [blame] | 106 | // Module Version 10000 |
John Kessenich | d6c9755 | 2018-06-04 15:33:31 -0600 | [diff] [blame^] | 107 | // Generated by (magic number): 80007 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 108 | // Id's are bound by 40 |
steve-lunarg | 5964c64 | 2016-07-30 07:38:55 -0600 | [diff] [blame] | 109 | |
| 110 | Capability Shader |
| 111 | 1: ExtInstImport "GLSL.std.450" |
| 112 | MemoryModel Logical GLSL450 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 113 | EntryPoint Fragment 4 "main" 37 |
steve-lunarg | 5964c64 | 2016-07-30 07:38:55 -0600 | [diff] [blame] | 114 | ExecutionMode 4 OriginUpperLeft |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 115 | Source HLSL 500 |
steve-lunarg | 5964c64 | 2016-07-30 07:38:55 -0600 | [diff] [blame] | 116 | Name 4 "main" |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 117 | Name 8 "PS_OUTPUT" |
| 118 | MemberName 8(PS_OUTPUT) 0 "color" |
| 119 | Name 10 "@main(" |
| 120 | Name 27 "ps_output" |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 121 | Name 37 "@entryPointOutput.color" |
| 122 | Decorate 37(@entryPointOutput.color) Location 0 |
steve-lunarg | 5964c64 | 2016-07-30 07:38:55 -0600 | [diff] [blame] | 123 | 2: TypeVoid |
| 124 | 3: TypeFunction 2 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 125 | 6: TypeFloat 32 |
| 126 | 7: TypeVector 6(float) 4 |
| 127 | 8(PS_OUTPUT): TypeStruct 7(fvec4) |
| 128 | 9: TypeFunction 8(PS_OUTPUT) |
| 129 | 12: TypeInt 32 1 |
| 130 | 13: 12(int) Constant 3 |
| 131 | 14: 12(int) Constant 4 |
| 132 | 15: 12(int) Constant 5 |
| 133 | 16: 12(int) Constant 6 |
| 134 | 17: 12(int) Constant 7 |
| 135 | 18: 12(int) Constant 8 |
| 136 | 19: TypeVector 6(float) 2 |
| 137 | 20: 6(float) Constant 1091567616 |
| 138 | 21: 6(float) Constant 1092616192 |
| 139 | 22: 19(fvec2) ConstantComposite 20 21 |
| 140 | 23: 6(float) Constant 1093664768 |
| 141 | 24: 6(float) Constant 1094713344 |
| 142 | 25: 19(fvec2) ConstantComposite 23 24 |
| 143 | 26: TypePointer Function 8(PS_OUTPUT) |
| 144 | 28: 12(int) Constant 0 |
| 145 | 29: 6(float) Constant 1065353216 |
| 146 | 30: 7(fvec4) ConstantComposite 29 29 29 29 |
| 147 | 31: TypePointer Function 7(fvec4) |
| 148 | 36: TypePointer Output 7(fvec4) |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 149 | 37(@entryPointOutput.color): 36(ptr) Variable Output |
steve-lunarg | 5964c64 | 2016-07-30 07:38:55 -0600 | [diff] [blame] | 150 | 4(main): 2 Function None 3 |
| 151 | 5: Label |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 152 | 38:8(PS_OUTPUT) FunctionCall 10(@main() |
| 153 | 39: 7(fvec4) CompositeExtract 38 0 |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 154 | Store 37(@entryPointOutput.color) 39 |
John Kessenich | 6a70eb7 | 2016-08-28 15:00:23 -0600 | [diff] [blame] | 155 | Return |
steve-lunarg | 5964c64 | 2016-07-30 07:38:55 -0600 | [diff] [blame] | 156 | FunctionEnd |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 157 | 10(@main():8(PS_OUTPUT) Function None 9 |
| 158 | 11: Label |
| 159 | 27(ps_output): 26(ptr) Variable Function |
| 160 | 32: 31(ptr) AccessChain 27(ps_output) 28 |
| 161 | Store 32 30 |
| 162 | 33:8(PS_OUTPUT) Load 27(ps_output) |
| 163 | ReturnValue 33 |
| 164 | FunctionEnd |