LoopDawg | 4425f24 | 2018-02-18 11:40:01 -0700 | [diff] [blame] | 1 | hlsl.imagefetch-subvec4.comp |
| 2 | Shader version: 500 |
| 3 | local_size = (8, 8, 8) |
| 4 | 0:? Sequence |
| 5 | 0:6 Function Definition: @main(vu3; ( temp void) |
| 6 | 0:6 Function Parameters: |
| 7 | 0:6 'tid' ( in 3-component vector of uint) |
| 8 | 0:? Sequence |
| 9 | 0:7 Sequence |
| 10 | 0:7 move second child to first child ( temp uint) |
| 11 | 0:7 'storeTemp' ( temp uint) |
| 12 | 0:7 Convert int to uint ( temp uint) |
| 13 | 0:7 textureFetch ( temp int) |
| 14 | 0:7 'IN' (layout( binding=0) uniform itexture3D) |
| 15 | 0:7 'tid' ( in 3-component vector of uint) |
| 16 | 0:7 Constant: |
| 17 | 0:7 0 (const int) |
| 18 | 0:7 imageStore ( temp void) |
| 19 | 0:7 'OUT' (layout( binding=1 r32ui) uniform uimage3D) |
| 20 | 0:7 'tid' ( in 3-component vector of uint) |
| 21 | 0:7 'storeTemp' ( temp uint) |
| 22 | 0:7 'storeTemp' ( temp uint) |
| 23 | 0:6 Function Definition: main( ( temp void) |
| 24 | 0:6 Function Parameters: |
| 25 | 0:? Sequence |
| 26 | 0:6 move second child to first child ( temp 3-component vector of uint) |
| 27 | 0:? 'tid' ( temp 3-component vector of uint) |
| 28 | 0:? 'tid' ( in 3-component vector of uint GlobalInvocationID) |
| 29 | 0:6 Function Call: @main(vu3; ( temp void) |
| 30 | 0:? 'tid' ( temp 3-component vector of uint) |
| 31 | 0:? Linker Objects |
| 32 | 0:? 'IN' (layout( binding=0) uniform itexture3D) |
| 33 | 0:? 'OUT' (layout( binding=1 r32ui) uniform uimage3D) |
| 34 | 0:? 'tid' ( in 3-component vector of uint GlobalInvocationID) |
| 35 | |
| 36 | |
| 37 | Linked compute stage: |
| 38 | |
| 39 | |
| 40 | Shader version: 500 |
| 41 | local_size = (8, 8, 8) |
| 42 | 0:? Sequence |
| 43 | 0:6 Function Definition: @main(vu3; ( temp void) |
| 44 | 0:6 Function Parameters: |
| 45 | 0:6 'tid' ( in 3-component vector of uint) |
| 46 | 0:? Sequence |
| 47 | 0:7 Sequence |
| 48 | 0:7 move second child to first child ( temp uint) |
| 49 | 0:7 'storeTemp' ( temp uint) |
| 50 | 0:7 Convert int to uint ( temp uint) |
| 51 | 0:7 textureFetch ( temp int) |
| 52 | 0:7 'IN' (layout( binding=0) uniform itexture3D) |
| 53 | 0:7 'tid' ( in 3-component vector of uint) |
| 54 | 0:7 Constant: |
| 55 | 0:7 0 (const int) |
| 56 | 0:7 imageStore ( temp void) |
| 57 | 0:7 'OUT' (layout( binding=1 r32ui) uniform uimage3D) |
| 58 | 0:7 'tid' ( in 3-component vector of uint) |
| 59 | 0:7 'storeTemp' ( temp uint) |
| 60 | 0:7 'storeTemp' ( temp uint) |
| 61 | 0:6 Function Definition: main( ( temp void) |
| 62 | 0:6 Function Parameters: |
| 63 | 0:? Sequence |
| 64 | 0:6 move second child to first child ( temp 3-component vector of uint) |
| 65 | 0:? 'tid' ( temp 3-component vector of uint) |
| 66 | 0:? 'tid' ( in 3-component vector of uint GlobalInvocationID) |
| 67 | 0:6 Function Call: @main(vu3; ( temp void) |
| 68 | 0:? 'tid' ( temp 3-component vector of uint) |
| 69 | 0:? Linker Objects |
| 70 | 0:? 'IN' (layout( binding=0) uniform itexture3D) |
| 71 | 0:? 'OUT' (layout( binding=1 r32ui) uniform uimage3D) |
| 72 | 0:? 'tid' ( in 3-component vector of uint GlobalInvocationID) |
| 73 | |
| 74 | // Module Version 10000 |
John Kessenich | d6c9755 | 2018-06-04 15:33:31 -0600 | [diff] [blame^] | 75 | // Generated by (magic number): 80007 |
LoopDawg | 4425f24 | 2018-02-18 11:40:01 -0700 | [diff] [blame] | 76 | // Id's are bound by 39 |
| 77 | |
| 78 | Capability Shader |
| 79 | 1: ExtInstImport "GLSL.std.450" |
| 80 | MemoryModel Logical GLSL450 |
| 81 | EntryPoint GLCompute 4 "main" 34 |
| 82 | ExecutionMode 4 LocalSize 8 8 8 |
| 83 | Source HLSL 500 |
| 84 | Name 4 "main" |
| 85 | Name 11 "@main(vu3;" |
| 86 | Name 10 "tid" |
| 87 | Name 14 "storeTemp" |
| 88 | Name 18 "IN" |
| 89 | Name 28 "OUT" |
| 90 | Name 32 "tid" |
| 91 | Name 34 "tid" |
| 92 | Name 36 "param" |
| 93 | Decorate 18(IN) DescriptorSet 0 |
| 94 | Decorate 18(IN) Binding 0 |
| 95 | Decorate 28(OUT) DescriptorSet 0 |
| 96 | Decorate 28(OUT) Binding 1 |
| 97 | Decorate 34(tid) BuiltIn GlobalInvocationId |
| 98 | 2: TypeVoid |
| 99 | 3: TypeFunction 2 |
| 100 | 6: TypeInt 32 0 |
| 101 | 7: TypeVector 6(int) 3 |
| 102 | 8: TypePointer Function 7(ivec3) |
| 103 | 9: TypeFunction 2 8(ptr) |
| 104 | 13: TypePointer Function 6(int) |
| 105 | 15: TypeInt 32 1 |
| 106 | 16: TypeImage 15(int) 3D sampled format:Unknown |
| 107 | 17: TypePointer UniformConstant 16 |
| 108 | 18(IN): 17(ptr) Variable UniformConstant |
| 109 | 21: 15(int) Constant 0 |
| 110 | 22: TypeVector 15(int) 4 |
| 111 | 26: TypeImage 6(int) 3D nonsampled format:R32ui |
| 112 | 27: TypePointer UniformConstant 26 |
| 113 | 28(OUT): 27(ptr) Variable UniformConstant |
| 114 | 33: TypePointer Input 7(ivec3) |
| 115 | 34(tid): 33(ptr) Variable Input |
| 116 | 4(main): 2 Function None 3 |
| 117 | 5: Label |
| 118 | 32(tid): 8(ptr) Variable Function |
| 119 | 36(param): 8(ptr) Variable Function |
| 120 | 35: 7(ivec3) Load 34(tid) |
| 121 | Store 32(tid) 35 |
| 122 | 37: 7(ivec3) Load 32(tid) |
| 123 | Store 36(param) 37 |
| 124 | 38: 2 FunctionCall 11(@main(vu3;) 36(param) |
| 125 | Return |
| 126 | FunctionEnd |
| 127 | 11(@main(vu3;): 2 Function None 9 |
| 128 | 10(tid): 8(ptr) FunctionParameter |
| 129 | 12: Label |
| 130 | 14(storeTemp): 13(ptr) Variable Function |
| 131 | 19: 16 Load 18(IN) |
| 132 | 20: 7(ivec3) Load 10(tid) |
| 133 | 23: 22(ivec4) ImageFetch 19 20 Lod 21 |
| 134 | 24: 15(int) CompositeExtract 23 0 |
| 135 | 25: 6(int) Bitcast 24 |
| 136 | Store 14(storeTemp) 25 |
| 137 | 29: 26 Load 28(OUT) |
| 138 | 30: 7(ivec3) Load 10(tid) |
| 139 | 31: 6(int) Load 14(storeTemp) |
| 140 | ImageWrite 29 30 31 |
| 141 | Return |
| 142 | FunctionEnd |