John Kessenich | b50fd17 | 2016-10-16 12:12:11 -0600 | [diff] [blame] | 1 | hlsl.basic.comp |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 2 | Shader version: 500 |
John Kessenich | b50fd17 | 2016-10-16 12:12:11 -0600 | [diff] [blame] | 3 | local_size = (1, 1, 1) |
| 4 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 5 | 0:4 Function Definition: @main(i1;i1; ( temp void) |
John Kessenich | b50fd17 | 2016-10-16 12:12:11 -0600 | [diff] [blame] | 6 | 0:4 Function Parameters: |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 7 | 0:4 'dti' ( in int) |
| 8 | 0:4 'gti' ( in int) |
John Kessenich | b50fd17 | 2016-10-16 12:12:11 -0600 | [diff] [blame] | 9 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 10 | 0:5 subtract ( temp int) |
| 11 | 0:5 'dti' ( in int) |
| 12 | 0:5 'gti' ( in int) |
| 13 | 0:4 Function Definition: main( ( temp void) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 14 | 0:4 Function Parameters: |
| 15 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 16 | 0:4 move second child to first child ( temp int) |
| 17 | 0:? 'dti' ( temp int) |
| 18 | 0:? 'dti' ( in int GlobalInvocationID) |
| 19 | 0:4 move second child to first child ( temp int) |
| 20 | 0:? 'gti' ( temp int) |
| 21 | 0:? 'gti' ( in int LocalInvocationID) |
| 22 | 0:4 Function Call: @main(i1;i1; ( temp void) |
| 23 | 0:? 'dti' ( temp int) |
| 24 | 0:? 'gti' ( temp int) |
John Kessenich | b50fd17 | 2016-10-16 12:12:11 -0600 | [diff] [blame] | 25 | 0:? Linker Objects |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 26 | 0:? 'a' ( shared 100-element array of 4-component vector of float) |
| 27 | 0:? 'dti' ( in int GlobalInvocationID) |
| 28 | 0:? 'gti' ( in int LocalInvocationID) |
John Kessenich | b50fd17 | 2016-10-16 12:12:11 -0600 | [diff] [blame] | 29 | |
| 30 | |
| 31 | Linked compute stage: |
| 32 | |
| 33 | |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 34 | Shader version: 500 |
John Kessenich | b50fd17 | 2016-10-16 12:12:11 -0600 | [diff] [blame] | 35 | local_size = (1, 1, 1) |
| 36 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 37 | 0:4 Function Definition: @main(i1;i1; ( temp void) |
John Kessenich | b50fd17 | 2016-10-16 12:12:11 -0600 | [diff] [blame] | 38 | 0:4 Function Parameters: |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 39 | 0:4 'dti' ( in int) |
| 40 | 0:4 'gti' ( in int) |
John Kessenich | b50fd17 | 2016-10-16 12:12:11 -0600 | [diff] [blame] | 41 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 42 | 0:5 subtract ( temp int) |
| 43 | 0:5 'dti' ( in int) |
| 44 | 0:5 'gti' ( in int) |
| 45 | 0:4 Function Definition: main( ( temp void) |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 46 | 0:4 Function Parameters: |
| 47 | 0:? Sequence |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 48 | 0:4 move second child to first child ( temp int) |
| 49 | 0:? 'dti' ( temp int) |
| 50 | 0:? 'dti' ( in int GlobalInvocationID) |
| 51 | 0:4 move second child to first child ( temp int) |
| 52 | 0:? 'gti' ( temp int) |
| 53 | 0:? 'gti' ( in int LocalInvocationID) |
| 54 | 0:4 Function Call: @main(i1;i1; ( temp void) |
| 55 | 0:? 'dti' ( temp int) |
| 56 | 0:? 'gti' ( temp int) |
John Kessenich | b50fd17 | 2016-10-16 12:12:11 -0600 | [diff] [blame] | 57 | 0:? Linker Objects |
John Kessenich | 71c100d | 2017-03-14 19:43:13 -0600 | [diff] [blame] | 58 | 0:? 'a' ( shared 100-element array of 4-component vector of float) |
| 59 | 0:? 'dti' ( in int GlobalInvocationID) |
| 60 | 0:? 'gti' ( in int LocalInvocationID) |
John Kessenich | b50fd17 | 2016-10-16 12:12:11 -0600 | [diff] [blame] | 61 | |
John Kessenich | 6c1c276 | 2018-01-29 16:16:11 -0700 | [diff] [blame^] | 62 | // Module Version 10200 |
John Kessenich | c72e593 | 2017-12-11 08:24:06 -0700 | [diff] [blame] | 63 | // Generated by (magic number): 80003 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 64 | // Id's are bound by 35 |
John Kessenich | b50fd17 | 2016-10-16 12:12:11 -0600 | [diff] [blame] | 65 | |
| 66 | Capability Shader |
| 67 | 1: ExtInstImport "GLSL.std.450" |
| 68 | MemoryModel Logical GLSL450 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 69 | EntryPoint GLCompute 4 "main" 18 21 |
John Kessenich | b50fd17 | 2016-10-16 12:12:11 -0600 | [diff] [blame] | 70 | ExecutionMode 4 LocalSize 1 1 1 |
John Kessenich | 6fa1764 | 2017-04-07 15:33:08 -0600 | [diff] [blame] | 71 | Source HLSL 500 |
John Kessenich | b50fd17 | 2016-10-16 12:12:11 -0600 | [diff] [blame] | 72 | Name 4 "main" |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 73 | Name 11 "@main(i1;i1;" |
| 74 | Name 9 "dti" |
John Kessenich | f37f4d2 | 2017-01-02 14:59:19 -0700 | [diff] [blame] | 75 | Name 10 "gti" |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 76 | Name 16 "dti" |
| 77 | Name 18 "dti" |
| 78 | Name 20 "gti" |
| 79 | Name 21 "gti" |
| 80 | Name 23 "param" |
| 81 | Name 25 "param" |
| 82 | Name 34 "a" |
| 83 | Decorate 18(dti) BuiltIn GlobalInvocationId |
| 84 | Decorate 21(gti) BuiltIn LocalInvocationId |
John Kessenich | b50fd17 | 2016-10-16 12:12:11 -0600 | [diff] [blame] | 85 | 2: TypeVoid |
| 86 | 3: TypeFunction 2 |
| 87 | 6: TypeInt 32 1 |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 88 | 7: TypePointer Function 6(int) |
| 89 | 8: TypeFunction 2 7(ptr) 7(ptr) |
| 90 | 17: TypePointer Input 6(int) |
| 91 | 18(dti): 17(ptr) Variable Input |
| 92 | 21(gti): 17(ptr) Variable Input |
| 93 | 28: TypeFloat 32 |
| 94 | 29: TypeVector 28(float) 4 |
| 95 | 30: TypeInt 32 0 |
| 96 | 31: 30(int) Constant 100 |
| 97 | 32: TypeArray 29(fvec4) 31 |
| 98 | 33: TypePointer Workgroup 32 |
| 99 | 34(a): 33(ptr) Variable Workgroup |
John Kessenich | b50fd17 | 2016-10-16 12:12:11 -0600 | [diff] [blame] | 100 | 4(main): 2 Function None 3 |
| 101 | 5: Label |
John Kessenich | 02467d8 | 2017-01-19 15:41:47 -0700 | [diff] [blame] | 102 | 16(dti): 7(ptr) Variable Function |
| 103 | 20(gti): 7(ptr) Variable Function |
| 104 | 23(param): 7(ptr) Variable Function |
| 105 | 25(param): 7(ptr) Variable Function |
| 106 | 19: 6(int) Load 18(dti) |
| 107 | Store 16(dti) 19 |
| 108 | 22: 6(int) Load 21(gti) |
| 109 | Store 20(gti) 22 |
| 110 | 24: 6(int) Load 16(dti) |
| 111 | Store 23(param) 24 |
| 112 | 26: 6(int) Load 20(gti) |
| 113 | Store 25(param) 26 |
| 114 | 27: 2 FunctionCall 11(@main(i1;i1;) 23(param) 25(param) |
| 115 | Return |
| 116 | FunctionEnd |
| 117 | 11(@main(i1;i1;): 2 Function None 8 |
| 118 | 9(dti): 7(ptr) FunctionParameter |
| 119 | 10(gti): 7(ptr) FunctionParameter |
| 120 | 12: Label |
| 121 | 13: 6(int) Load 9(dti) |
| 122 | 14: 6(int) Load 10(gti) |
| 123 | 15: 6(int) ISub 13 14 |
John Kessenich | b50fd17 | 2016-10-16 12:12:11 -0600 | [diff] [blame] | 124 | Return |
| 125 | FunctionEnd |