steve-lunarg | 7b211a3 | 2016-10-13 12:26:18 -0600 | [diff] [blame] | 1 | hlsl.array.multidim.frag |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 2 | Shader version: 500 |
steve-lunarg | 7b211a3 | 2016-10-13 12:26:18 -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:10 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color}) |
steve-lunarg | 7b211a3 | 2016-10-13 12:26:18 -0600 | [diff] [blame] | 6 | 0:10 Function Parameters: |
| 7 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 8 | 0:14 move second child to first child ( temp 4-component vector of float) |
| 9 | 0:14 direct index ( temp 4-component vector of float) |
| 10 | 0:14 direct index ( temp 3-element array of 4-component vector of float) |
| 11 | 0:14 'float4_array_1' ( temp 2-element array of 3-element array of 4-component vector of float) |
steve-lunarg | 7b211a3 | 2016-10-13 12:26:18 -0600 | [diff] [blame] | 12 | 0:14 Constant: |
| 13 | 0:14 1 (const int) |
| 14 | 0:14 Constant: |
| 15 | 0:14 2 (const int) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 16 | 0:14 Construct vec4 ( temp 4-component vector of float) |
John Kessenich | 000c818 | 2017-03-22 23:21:34 -0600 | [diff] [blame] | 17 | 0:14 direct index ( temp float) |
| 18 | 0:14 direct index ( temp 3-element array of float) |
| 19 | 0:14 direct index ( temp 4-element array of 3-element array of float) |
| 20 | 0:14 float_array: direct index for structure ( uniform 5-element array of 4-element array of 3-element array of float) |
| 21 | 0:14 'anon@0' (layout( row_major std140) uniform block{ uniform 5-element array of 4-element array of 3-element array of float float_array}) |
steve-lunarg | 7b211a3 | 2016-10-13 12:26:18 -0600 | [diff] [blame] | 22 | 0:14 Constant: |
| 23 | 0:14 0 (const uint) |
| 24 | 0:14 Constant: |
| 25 | 0:14 2 (const int) |
| 26 | 0:14 Constant: |
| 27 | 0:14 3 (const int) |
| 28 | 0:14 Constant: |
| 29 | 0:14 1 (const int) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 30 | 0:15 move second child to first child ( temp 3-element array of 4-component vector of float) |
| 31 | 0:15 direct index ( temp 3-element array of 4-component vector of float) |
| 32 | 0:15 'float4_array_2' ( temp 5-element array of 3-element array of 4-component vector of float) |
steve-lunarg | 7b211a3 | 2016-10-13 12:26:18 -0600 | [diff] [blame] | 33 | 0:15 Constant: |
| 34 | 0:15 1 (const int) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 35 | 0:15 direct index ( temp 3-element array of 4-component vector of float) |
| 36 | 0:15 'float4_array_1' ( temp 2-element array of 3-element array of 4-component vector of float) |
steve-lunarg | 7b211a3 | 2016-10-13 12:26:18 -0600 | [diff] [blame] | 37 | 0:15 Constant: |
| 38 | 0:15 0 (const int) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 39 | 0:18 move second child to first child ( temp 4-component vector of float) |
| 40 | 0:18 Color: direct index for structure ( temp 4-component vector of float) |
| 41 | 0:18 'psout' ( temp structure{ temp 4-component vector of float Color}) |
steve-lunarg | 7b211a3 | 2016-10-13 12:26:18 -0600 | [diff] [blame] | 42 | 0:18 Constant: |
| 43 | 0:18 0 (const int) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 44 | 0:18 direct index ( temp 4-component vector of float) |
| 45 | 0:18 direct index ( temp 3-element array of 4-component vector of float) |
| 46 | 0:18 'float4_array_1' ( temp 2-element array of 3-element array of 4-component vector of float) |
steve-lunarg | 7b211a3 | 2016-10-13 12:26:18 -0600 | [diff] [blame] | 47 | 0:18 Constant: |
| 48 | 0:18 1 (const int) |
| 49 | 0:18 Constant: |
| 50 | 0:18 2 (const int) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 51 | 0:19 Branch: Return with expression |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 52 | 0:19 'psout' ( temp structure{ temp 4-component vector of float Color}) |
| 53 | 0:10 Function Definition: main( ( temp void) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 54 | 0:10 Function Parameters: |
| 55 | 0:? Sequence |
| 56 | 0:10 Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 57 | 0:10 move second child to first child ( temp 4-component vector of float) |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 58 | 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 59 | 0:10 Color: direct index for structure ( temp 4-component vector of float) |
| 60 | 0:10 Function Call: @main( ( temp structure{ temp 4-component vector of float Color}) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 61 | 0:10 Constant: |
| 62 | 0:10 0 (const int) |
steve-lunarg | 7b211a3 | 2016-10-13 12:26:18 -0600 | [diff] [blame] | 63 | 0:? Linker Objects |
John Kessenich | 000c818 | 2017-03-22 23:21:34 -0600 | [diff] [blame] | 64 | 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 5-element array of 4-element array of 3-element array of float float_array}) |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 65 | 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) |
steve-lunarg | 7b211a3 | 2016-10-13 12:26:18 -0600 | [diff] [blame] | 66 | |
| 67 | |
| 68 | Linked fragment stage: |
| 69 | |
| 70 | |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 71 | Shader version: 500 |
steve-lunarg | 7b211a3 | 2016-10-13 12:26:18 -0600 | [diff] [blame] | 72 | gl_FragCoord origin is upper left |
| 73 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 74 | 0:10 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color}) |
steve-lunarg | 7b211a3 | 2016-10-13 12:26:18 -0600 | [diff] [blame] | 75 | 0:10 Function Parameters: |
| 76 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 77 | 0:14 move second child to first child ( temp 4-component vector of float) |
| 78 | 0:14 direct index ( temp 4-component vector of float) |
| 79 | 0:14 direct index ( temp 3-element array of 4-component vector of float) |
| 80 | 0:14 'float4_array_1' ( temp 2-element array of 3-element array of 4-component vector of float) |
steve-lunarg | 7b211a3 | 2016-10-13 12:26:18 -0600 | [diff] [blame] | 81 | 0:14 Constant: |
| 82 | 0:14 1 (const int) |
| 83 | 0:14 Constant: |
| 84 | 0:14 2 (const int) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 85 | 0:14 Construct vec4 ( temp 4-component vector of float) |
John Kessenich | 000c818 | 2017-03-22 23:21:34 -0600 | [diff] [blame] | 86 | 0:14 direct index ( temp float) |
| 87 | 0:14 direct index ( temp 3-element array of float) |
| 88 | 0:14 direct index ( temp 4-element array of 3-element array of float) |
| 89 | 0:14 float_array: direct index for structure ( uniform 5-element array of 4-element array of 3-element array of float) |
| 90 | 0:14 'anon@0' (layout( row_major std140) uniform block{ uniform 5-element array of 4-element array of 3-element array of float float_array}) |
steve-lunarg | 7b211a3 | 2016-10-13 12:26:18 -0600 | [diff] [blame] | 91 | 0:14 Constant: |
| 92 | 0:14 0 (const uint) |
| 93 | 0:14 Constant: |
| 94 | 0:14 2 (const int) |
| 95 | 0:14 Constant: |
| 96 | 0:14 3 (const int) |
| 97 | 0:14 Constant: |
| 98 | 0:14 1 (const int) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 99 | 0:15 move second child to first child ( temp 3-element array of 4-component vector of float) |
| 100 | 0:15 direct index ( temp 3-element array of 4-component vector of float) |
| 101 | 0:15 'float4_array_2' ( temp 5-element array of 3-element array of 4-component vector of float) |
steve-lunarg | 7b211a3 | 2016-10-13 12:26:18 -0600 | [diff] [blame] | 102 | 0:15 Constant: |
| 103 | 0:15 1 (const int) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 104 | 0:15 direct index ( temp 3-element array of 4-component vector of float) |
| 105 | 0:15 'float4_array_1' ( temp 2-element array of 3-element array of 4-component vector of float) |
steve-lunarg | 7b211a3 | 2016-10-13 12:26:18 -0600 | [diff] [blame] | 106 | 0:15 Constant: |
| 107 | 0:15 0 (const int) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 108 | 0:18 move second child to first child ( temp 4-component vector of float) |
| 109 | 0:18 Color: direct index for structure ( temp 4-component vector of float) |
| 110 | 0:18 'psout' ( temp structure{ temp 4-component vector of float Color}) |
steve-lunarg | 7b211a3 | 2016-10-13 12:26:18 -0600 | [diff] [blame] | 111 | 0:18 Constant: |
| 112 | 0:18 0 (const int) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 113 | 0:18 direct index ( temp 4-component vector of float) |
| 114 | 0:18 direct index ( temp 3-element array of 4-component vector of float) |
| 115 | 0:18 'float4_array_1' ( temp 2-element array of 3-element array of 4-component vector of float) |
steve-lunarg | 7b211a3 | 2016-10-13 12:26:18 -0600 | [diff] [blame] | 116 | 0:18 Constant: |
| 117 | 0:18 1 (const int) |
| 118 | 0:18 Constant: |
| 119 | 0:18 2 (const int) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 120 | 0:19 Branch: Return with expression |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 121 | 0:19 'psout' ( temp structure{ temp 4-component vector of float Color}) |
| 122 | 0:10 Function Definition: main( ( temp void) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 123 | 0:10 Function Parameters: |
| 124 | 0:? Sequence |
| 125 | 0:10 Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 126 | 0:10 move second child to first child ( temp 4-component vector of float) |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 127 | 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 128 | 0:10 Color: direct index for structure ( temp 4-component vector of float) |
| 129 | 0:10 Function Call: @main( ( temp structure{ temp 4-component vector of float Color}) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 130 | 0:10 Constant: |
| 131 | 0:10 0 (const int) |
steve-lunarg | 7b211a3 | 2016-10-13 12:26:18 -0600 | [diff] [blame] | 132 | 0:? Linker Objects |
John Kessenich | 000c818 | 2017-03-22 23:21:34 -0600 | [diff] [blame] | 133 | 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 5-element array of 4-element array of 3-element array of float float_array}) |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 134 | 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) |
steve-lunarg | 7b211a3 | 2016-10-13 12:26:18 -0600 | [diff] [blame] | 135 | |
John Kessenich | 2b5ea9f | 2018-01-31 18:35:56 -0700 | [diff] [blame] | 136 | // Module Version 10000 |
John Kessenich | d6c9755 | 2018-06-04 15:33:31 -0600 | [diff] [blame^] | 137 | // Generated by (magic number): 80007 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 138 | // Id's are bound by 57 |
steve-lunarg | 7b211a3 | 2016-10-13 12:26:18 -0600 | [diff] [blame] | 139 | |
| 140 | Capability Shader |
| 141 | 1: ExtInstImport "GLSL.std.450" |
| 142 | MemoryModel Logical GLSL450 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 143 | EntryPoint Fragment 4 "main" 54 |
steve-lunarg | 7b211a3 | 2016-10-13 12:26:18 -0600 | [diff] [blame] | 144 | ExecutionMode 4 OriginUpperLeft |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 145 | Source HLSL 500 |
steve-lunarg | 7b211a3 | 2016-10-13 12:26:18 -0600 | [diff] [blame] | 146 | Name 4 "main" |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 147 | Name 8 "PS_OUTPUT" |
| 148 | MemberName 8(PS_OUTPUT) 0 "Color" |
| 149 | Name 10 "@main(" |
| 150 | Name 18 "float4_array_1" |
| 151 | Name 27 "$Global" |
| 152 | MemberName 27($Global) 0 "float_array" |
| 153 | Name 29 "" |
| 154 | Name 40 "float4_array_2" |
| 155 | Name 46 "psout" |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 156 | Name 54 "@entryPointOutput.Color" |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 157 | Decorate 22 ArrayStride 16 |
| 158 | Decorate 24 ArrayStride 48 |
| 159 | Decorate 26 ArrayStride 192 |
| 160 | MemberDecorate 27($Global) 0 Offset 0 |
| 161 | Decorate 27($Global) Block |
| 162 | Decorate 29 DescriptorSet 0 |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 163 | Decorate 54(@entryPointOutput.Color) Location 0 |
steve-lunarg | 7b211a3 | 2016-10-13 12:26:18 -0600 | [diff] [blame] | 164 | 2: TypeVoid |
| 165 | 3: TypeFunction 2 |
| 166 | 6: TypeFloat 32 |
| 167 | 7: TypeVector 6(float) 4 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 168 | 8(PS_OUTPUT): TypeStruct 7(fvec4) |
| 169 | 9: TypeFunction 8(PS_OUTPUT) |
| 170 | 12: TypeInt 32 0 |
| 171 | 13: 12(int) Constant 3 |
| 172 | 14: TypeArray 7(fvec4) 13 |
| 173 | 15: 12(int) Constant 2 |
| 174 | 16: TypeArray 14 15 |
| 175 | 17: TypePointer Function 16 |
| 176 | 19: TypeInt 32 1 |
| 177 | 20: 19(int) Constant 1 |
| 178 | 21: 19(int) Constant 2 |
| 179 | 22: TypeArray 6(float) 13 |
| 180 | 23: 12(int) Constant 4 |
| 181 | 24: TypeArray 22 23 |
| 182 | 25: 12(int) Constant 5 |
| 183 | 26: TypeArray 24 25 |
| 184 | 27($Global): TypeStruct 26 |
| 185 | 28: TypePointer Uniform 27($Global) |
| 186 | 29: 28(ptr) Variable Uniform |
| 187 | 30: 19(int) Constant 0 |
| 188 | 31: 19(int) Constant 3 |
| 189 | 32: TypePointer Uniform 6(float) |
| 190 | 36: TypePointer Function 7(fvec4) |
| 191 | 38: TypeArray 14 25 |
| 192 | 39: TypePointer Function 38 |
| 193 | 41: TypePointer Function 14 |
| 194 | 45: TypePointer Function 8(PS_OUTPUT) |
| 195 | 53: TypePointer Output 7(fvec4) |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 196 | 54(@entryPointOutput.Color): 53(ptr) Variable Output |
steve-lunarg | 7b211a3 | 2016-10-13 12:26:18 -0600 | [diff] [blame] | 197 | 4(main): 2 Function None 3 |
| 198 | 5: Label |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 199 | 55:8(PS_OUTPUT) FunctionCall 10(@main() |
| 200 | 56: 7(fvec4) CompositeExtract 55 0 |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 201 | Store 54(@entryPointOutput.Color) 56 |
steve-lunarg | 7b211a3 | 2016-10-13 12:26:18 -0600 | [diff] [blame] | 202 | Return |
| 203 | FunctionEnd |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 204 | 10(@main():8(PS_OUTPUT) Function None 9 |
| 205 | 11: Label |
| 206 | 18(float4_array_1): 17(ptr) Variable Function |
| 207 | 40(float4_array_2): 39(ptr) Variable Function |
| 208 | 46(psout): 45(ptr) Variable Function |
| 209 | 33: 32(ptr) AccessChain 29 30 21 31 20 |
| 210 | 34: 6(float) Load 33 |
| 211 | 35: 7(fvec4) CompositeConstruct 34 34 34 34 |
| 212 | 37: 36(ptr) AccessChain 18(float4_array_1) 20 21 |
| 213 | Store 37 35 |
| 214 | 42: 41(ptr) AccessChain 18(float4_array_1) 30 |
| 215 | 43: 14 Load 42 |
| 216 | 44: 41(ptr) AccessChain 40(float4_array_2) 20 |
| 217 | Store 44 43 |
| 218 | 47: 36(ptr) AccessChain 18(float4_array_1) 20 21 |
| 219 | 48: 7(fvec4) Load 47 |
| 220 | 49: 36(ptr) AccessChain 46(psout) 30 |
| 221 | Store 49 48 |
| 222 | 50:8(PS_OUTPUT) Load 46(psout) |
| 223 | ReturnValue 50 |
| 224 | FunctionEnd |