John Kessenich | 647fcca | 2018-03-15 21:07:35 -0600 | [diff] [blame] | 1 | spv.rankShift.comp |
| 2 | // Module Version 10000 |
John Kessenich | 31c3370 | 2019-11-02 21:26:40 -0600 | [diff] [blame] | 3 | // Generated by (magic number): 80008 |
John Kessenich | 647fcca | 2018-03-15 21:07:35 -0600 | [diff] [blame] | 4 | // Id's are bound by 33 |
| 5 | |
| 6 | Capability Shader |
| 7 | Capability Int64 |
| 8 | 1: ExtInstImport "GLSL.std.450" |
| 9 | MemoryModel Logical GLSL450 |
| 10 | EntryPoint GLCompute 4 "main" |
| 11 | ExecutionMode 4 LocalSize 54 1 1 |
| 12 | Source GLSL 450 |
| 13 | SourceExtension "GL_ARB_gpu_shader_int64" |
| 14 | Name 4 "main" |
| 15 | Name 8 "result" |
| 16 | Name 11 "arg0" |
| 17 | Name 15 "arg1" |
| 18 | Decorate 11(arg0) Location 4 |
| 19 | Decorate 15(arg1) Location 5 |
| 20 | Decorate 32 BuiltIn WorkgroupSize |
| 21 | 2: TypeVoid |
| 22 | 3: TypeFunction 2 |
| 23 | 6: TypeInt 64 0 |
Jeff Bolz | af7a948 | 2018-05-22 23:13:30 -0500 | [diff] [blame] | 24 | 7: TypePointer Function 6(int64_t) |
John Kessenich | 647fcca | 2018-03-15 21:07:35 -0600 | [diff] [blame] | 25 | 9: TypeInt 64 1 |
Jeff Bolz | af7a948 | 2018-05-22 23:13:30 -0500 | [diff] [blame] | 26 | 10: TypePointer UniformConstant 9(int64_t) |
John Kessenich | 647fcca | 2018-03-15 21:07:35 -0600 | [diff] [blame] | 27 | 11(arg0): 10(ptr) Variable UniformConstant |
| 28 | 13: TypeInt 32 0 |
| 29 | 14: TypePointer UniformConstant 13(int) |
| 30 | 15(arg1): 14(ptr) Variable UniformConstant |
| 31 | 29: TypeVector 13(int) 3 |
| 32 | 30: 13(int) Constant 54 |
| 33 | 31: 13(int) Constant 1 |
| 34 | 32: 29(ivec3) ConstantComposite 30 31 31 |
| 35 | 4(main): 2 Function None 3 |
| 36 | 5: Label |
| 37 | 8(result): 7(ptr) Variable Function |
Jeff Bolz | af7a948 | 2018-05-22 23:13:30 -0500 | [diff] [blame] | 38 | 12: 9(int64_t) Load 11(arg0) |
John Kessenich | 647fcca | 2018-03-15 21:07:35 -0600 | [diff] [blame] | 39 | 16: 13(int) Load 15(arg1) |
Jeff Bolz | af7a948 | 2018-05-22 23:13:30 -0500 | [diff] [blame] | 40 | 17: 9(int64_t) ShiftLeftLogical 12 16 |
| 41 | 18: 6(int64_t) Bitcast 17 |
John Kessenich | 647fcca | 2018-03-15 21:07:35 -0600 | [diff] [blame] | 42 | Store 8(result) 18 |
Jeff Bolz | af7a948 | 2018-05-22 23:13:30 -0500 | [diff] [blame] | 43 | 19: 9(int64_t) Load 11(arg0) |
John Kessenich | 647fcca | 2018-03-15 21:07:35 -0600 | [diff] [blame] | 44 | 20: 13(int) Load 15(arg1) |
Jeff Bolz | af7a948 | 2018-05-22 23:13:30 -0500 | [diff] [blame] | 45 | 21: 9(int64_t) ShiftRightArithmetic 19 20 |
| 46 | 22: 6(int64_t) Bitcast 21 |
John Kessenich | 647fcca | 2018-03-15 21:07:35 -0600 | [diff] [blame] | 47 | Store 8(result) 22 |
| 48 | 23: 13(int) Load 15(arg1) |
Jeff Bolz | af7a948 | 2018-05-22 23:13:30 -0500 | [diff] [blame] | 49 | 24: 6(int64_t) Load 8(result) |
| 50 | 25: 6(int64_t) ShiftLeftLogical 24 23 |
John Kessenich | 647fcca | 2018-03-15 21:07:35 -0600 | [diff] [blame] | 51 | Store 8(result) 25 |
| 52 | 26: 13(int) Load 15(arg1) |
Jeff Bolz | af7a948 | 2018-05-22 23:13:30 -0500 | [diff] [blame] | 53 | 27: 6(int64_t) Load 8(result) |
| 54 | 28: 6(int64_t) ShiftRightLogical 27 26 |
John Kessenich | 647fcca | 2018-03-15 21:07:35 -0600 | [diff] [blame] | 55 | Store 8(result) 28 |
| 56 | Return |
| 57 | FunctionEnd |