steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 1 | hlsl.rw.register.frag |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 2 | Shader version: 500 |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -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:11 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color}) |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 6 | 0:11 Function Parameters: |
| 7 | 0:? Sequence |
| 8 | 0:12 Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 9 | 0:12 move second child to first child ( temp float) |
| 10 | 0:12 'r00' ( temp float) |
| 11 | 0:12 imageLoad ( temp float) |
| 12 | 0:12 'g_tTex1df1' (layout( binding=2 r32f) uniform image1D) |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 13 | 0:12 Constant: |
| 14 | 0:12 0 (const int) |
| 15 | 0:13 Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 16 | 0:13 move second child to first child ( temp uint) |
| 17 | 0:13 'r01' ( temp uint) |
| 18 | 0:13 imageLoad ( temp uint) |
| 19 | 0:13 'g_tBuf1du1' (layout( binding=3 r32ui) uniform uimageBuffer) |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 20 | 0:13 Constant: |
| 21 | 0:13 0 (const int) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 22 | 0:16 move second child to first child ( temp 4-component vector of float) |
| 23 | 0:16 Color: direct index for structure ( temp 4-component vector of float) |
| 24 | 0:16 'psout' ( temp structure{ temp 4-component vector of float Color}) |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 25 | 0:16 Constant: |
| 26 | 0:16 0 (const int) |
| 27 | 0:16 Constant: |
| 28 | 0:16 1.000000 |
| 29 | 0:16 1.000000 |
| 30 | 0:16 1.000000 |
| 31 | 0:16 1.000000 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 32 | 0:17 Branch: Return with expression |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 33 | 0:17 'psout' ( temp structure{ temp 4-component vector of float Color}) |
| 34 | 0:11 Function Definition: main( ( temp void) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 35 | 0:11 Function Parameters: |
| 36 | 0:? Sequence |
| 37 | 0:11 Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 38 | 0:11 move second child to first child ( temp 4-component vector of float) |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 39 | 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 40 | 0:11 Color: direct index for structure ( temp 4-component vector of float) |
| 41 | 0:11 Function Call: @main( ( temp structure{ temp 4-component vector of float Color}) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 42 | 0:11 Constant: |
| 43 | 0:11 0 (const int) |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 44 | 0:? Linker Objects |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 45 | 0:? 'g_tTex1df1' (layout( binding=2 r32f) uniform image1D) |
| 46 | 0:? 'g_tBuf1du1' (layout( binding=3 r32ui) uniform uimageBuffer) |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 47 | 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 48 | |
| 49 | |
| 50 | Linked fragment stage: |
| 51 | |
| 52 | |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 53 | Shader version: 500 |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 54 | gl_FragCoord origin is upper left |
| 55 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 56 | 0:11 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color}) |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 57 | 0:11 Function Parameters: |
| 58 | 0:? Sequence |
| 59 | 0:12 Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 60 | 0:12 move second child to first child ( temp float) |
| 61 | 0:12 'r00' ( temp float) |
| 62 | 0:12 imageLoad ( temp float) |
| 63 | 0:12 'g_tTex1df1' (layout( binding=2 r32f) uniform image1D) |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 64 | 0:12 Constant: |
| 65 | 0:12 0 (const int) |
| 66 | 0:13 Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 67 | 0:13 move second child to first child ( temp uint) |
| 68 | 0:13 'r01' ( temp uint) |
| 69 | 0:13 imageLoad ( temp uint) |
| 70 | 0:13 'g_tBuf1du1' (layout( binding=3 r32ui) uniform uimageBuffer) |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 71 | 0:13 Constant: |
| 72 | 0:13 0 (const int) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 73 | 0:16 move second child to first child ( temp 4-component vector of float) |
| 74 | 0:16 Color: direct index for structure ( temp 4-component vector of float) |
| 75 | 0:16 'psout' ( temp structure{ temp 4-component vector of float Color}) |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 76 | 0:16 Constant: |
| 77 | 0:16 0 (const int) |
| 78 | 0:16 Constant: |
| 79 | 0:16 1.000000 |
| 80 | 0:16 1.000000 |
| 81 | 0:16 1.000000 |
| 82 | 0:16 1.000000 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 83 | 0:17 Branch: Return with expression |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 84 | 0:17 'psout' ( temp structure{ temp 4-component vector of float Color}) |
| 85 | 0:11 Function Definition: main( ( temp void) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 86 | 0:11 Function Parameters: |
| 87 | 0:? Sequence |
| 88 | 0:11 Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 89 | 0:11 move second child to first child ( temp 4-component vector of float) |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 90 | 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 91 | 0:11 Color: direct index for structure ( temp 4-component vector of float) |
| 92 | 0:11 Function Call: @main( ( temp structure{ temp 4-component vector of float Color}) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 93 | 0:11 Constant: |
| 94 | 0:11 0 (const int) |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 95 | 0:? Linker Objects |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 96 | 0:? 'g_tTex1df1' (layout( binding=2 r32f) uniform image1D) |
| 97 | 0:? 'g_tBuf1du1' (layout( binding=3 r32ui) uniform uimageBuffer) |
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) |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 99 | |
John Kessenich | 2b5ea9f | 2018-01-31 18:35:56 -0700 | [diff] [blame] | 100 | // Module Version 10000 |
Graeme Leese | 182ab46 | 2020-06-22 11:49:38 +0100 | [diff] [blame^] | 101 | // Generated by (magic number): 8000a |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 102 | // Id's are bound by 42 |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 103 | |
| 104 | Capability Shader |
John Kessenich | 260f506 | 2017-08-14 22:10:00 -0600 | [diff] [blame] | 105 | Capability Image1D |
| 106 | Capability ImageBuffer |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 107 | 1: ExtInstImport "GLSL.std.450" |
| 108 | MemoryModel Logical GLSL450 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 109 | EntryPoint Fragment 4 "main" 39 |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 110 | ExecutionMode 4 OriginUpperLeft |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 111 | Source HLSL 500 |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 112 | Name 4 "main" |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 113 | Name 8 "PS_OUTPUT" |
| 114 | MemberName 8(PS_OUTPUT) 0 "Color" |
| 115 | Name 10 "@main(" |
| 116 | Name 13 "r00" |
| 117 | Name 16 "g_tTex1df1" |
| 118 | Name 23 "r01" |
| 119 | Name 26 "g_tBuf1du1" |
| 120 | Name 30 "psout" |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 121 | Name 39 "@entryPointOutput.Color" |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 122 | Decorate 16(g_tTex1df1) DescriptorSet 0 |
| 123 | Decorate 16(g_tTex1df1) Binding 2 |
| 124 | Decorate 26(g_tBuf1du1) DescriptorSet 0 |
| 125 | Decorate 26(g_tBuf1du1) Binding 3 |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 126 | Decorate 39(@entryPointOutput.Color) Location 0 |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 127 | 2: TypeVoid |
| 128 | 3: TypeFunction 2 |
| 129 | 6: TypeFloat 32 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 130 | 7: TypeVector 6(float) 4 |
| 131 | 8(PS_OUTPUT): TypeStruct 7(fvec4) |
| 132 | 9: TypeFunction 8(PS_OUTPUT) |
| 133 | 12: TypePointer Function 6(float) |
| 134 | 14: TypeImage 6(float) 1D nonsampled format:R32f |
| 135 | 15: TypePointer UniformConstant 14 |
| 136 | 16(g_tTex1df1): 15(ptr) Variable UniformConstant |
| 137 | 18: TypeInt 32 1 |
| 138 | 19: 18(int) Constant 0 |
| 139 | 21: TypeInt 32 0 |
| 140 | 22: TypePointer Function 21(int) |
| 141 | 24: TypeImage 21(int) Buffer nonsampled format:R32ui |
| 142 | 25: TypePointer UniformConstant 24 |
| 143 | 26(g_tBuf1du1): 25(ptr) Variable UniformConstant |
| 144 | 29: TypePointer Function 8(PS_OUTPUT) |
| 145 | 31: 6(float) Constant 1065353216 |
| 146 | 32: 7(fvec4) ConstantComposite 31 31 31 31 |
| 147 | 33: TypePointer Function 7(fvec4) |
| 148 | 38: TypePointer Output 7(fvec4) |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 149 | 39(@entryPointOutput.Color): 38(ptr) Variable Output |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -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 | 40:8(PS_OUTPUT) FunctionCall 10(@main() |
| 153 | 41: 7(fvec4) CompositeExtract 40 0 |
John Kessenich | e516d43 | 2017-08-09 14:29:29 -0600 | [diff] [blame] | 154 | Store 39(@entryPointOutput.Color) 41 |
steve-lunarg | 9088be4 | 2016-11-01 10:31:42 -0600 | [diff] [blame] | 155 | Return |
| 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 | 13(r00): 12(ptr) Variable Function |
| 160 | 23(r01): 22(ptr) Variable Function |
| 161 | 30(psout): 29(ptr) Variable Function |
| 162 | 17: 14 Load 16(g_tTex1df1) |
| 163 | 20: 6(float) ImageRead 17 19 |
| 164 | Store 13(r00) 20 |
| 165 | 27: 24 Load 26(g_tBuf1du1) |
| 166 | 28: 21(int) ImageRead 27 19 |
| 167 | Store 23(r01) 28 |
| 168 | 34: 33(ptr) AccessChain 30(psout) 19 |
| 169 | Store 34 32 |
| 170 | 35:8(PS_OUTPUT) Load 30(psout) |
| 171 | ReturnValue 35 |
| 172 | FunctionEnd |