John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 1 | spv.310.comp |
John Kessenich | 2b5ea9f | 2018-01-31 18:35:56 -0700 | [diff] [blame] | 2 | // Module Version 10000 |
John Kessenich | 71b5da6 | 2018-02-06 08:06:36 -0700 | [diff] [blame^] | 3 | // Generated by (magic number): 80004 |
John Kessenich | 8297936 | 2017-12-11 04:02:24 -0700 | [diff] [blame] | 4 | // Id's are bound by 71 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 5 | |
| 6 | Capability Shader |
John Kessenich | c08fb8a | 2017-03-14 16:45:30 -0600 | [diff] [blame] | 7 | Capability DeviceGroup |
| 8 | Extension "SPV_KHR_device_group" |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 9 | 1: ExtInstImport "GLSL.std.450" |
| 10 | MemoryModel Logical GLSL450 |
John Kessenich | c08fb8a | 2017-03-14 16:45:30 -0600 | [diff] [blame] | 11 | EntryPoint GLCompute 4 "main" 53 64 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 12 | ExecutionMode 4 LocalSize 16 32 4 |
| 13 | Source ESSL 310 |
John Kessenich | c08fb8a | 2017-03-14 16:45:30 -0600 | [diff] [blame] | 14 | SourceExtension "GL_EXT_device_group" |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 15 | Name 4 "main" |
John Kessenich | 8297936 | 2017-12-11 04:02:24 -0700 | [diff] [blame] | 16 | Name 12 "outb" |
| 17 | MemberName 12(outb) 0 "f" |
| 18 | MemberName 12(outb) 1 "g" |
| 19 | MemberName 12(outb) 2 "h" |
| 20 | MemberName 12(outb) 3 "uns" |
| 21 | Name 14 "outbname" |
| 22 | Name 18 "s" |
| 23 | Name 23 "outbna" |
| 24 | MemberName 23(outbna) 0 "k" |
| 25 | MemberName 23(outbna) 1 "na" |
| 26 | Name 25 "outbnamena" |
chrgau01@arm.com | c3f1cdf | 2016-11-14 10:10:05 +0100 | [diff] [blame] | 27 | Name 42 "i" |
| 28 | Name 48 "outs" |
| 29 | MemberName 48(outs) 0 "s" |
| 30 | MemberName 48(outs) 1 "va" |
| 31 | Name 50 "outnames" |
| 32 | Name 53 "gl_LocalInvocationID" |
John Kessenich | c08fb8a | 2017-03-14 16:45:30 -0600 | [diff] [blame] | 33 | Name 64 "gl_DeviceIndex" |
John Kessenich | 8297936 | 2017-12-11 04:02:24 -0700 | [diff] [blame] | 34 | Decorate 11 ArrayStride 16 |
| 35 | MemberDecorate 12(outb) 0 Offset 0 |
| 36 | MemberDecorate 12(outb) 1 Offset 4 |
| 37 | MemberDecorate 12(outb) 2 Offset 8 |
| 38 | MemberDecorate 12(outb) 3 Offset 16 |
| 39 | Decorate 12(outb) BufferBlock |
| 40 | Decorate 14(outbname) DescriptorSet 0 |
| 41 | MemberDecorate 23(outbna) 0 Offset 0 |
| 42 | MemberDecorate 23(outbna) 1 Offset 16 |
| 43 | Decorate 23(outbna) BufferBlock |
| 44 | Decorate 25(outbnamena) DescriptorSet 0 |
chrgau01@arm.com | c3f1cdf | 2016-11-14 10:10:05 +0100 | [diff] [blame] | 45 | Decorate 47 ArrayStride 16 |
| 46 | MemberDecorate 48(outs) 0 Offset 0 |
| 47 | MemberDecorate 48(outs) 1 Offset 16 |
| 48 | Decorate 48(outs) BufferBlock |
| 49 | Decorate 50(outnames) DescriptorSet 0 |
| 50 | Decorate 53(gl_LocalInvocationID) BuiltIn LocalInvocationId |
John Kessenich | c08fb8a | 2017-03-14 16:45:30 -0600 | [diff] [blame] | 51 | Decorate 64(gl_DeviceIndex) BuiltIn DeviceIndex |
John Kessenich | 8297936 | 2017-12-11 04:02:24 -0700 | [diff] [blame] | 52 | Decorate 70 BuiltIn WorkgroupSize |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 53 | 2: TypeVoid |
| 54 | 3: TypeFunction 2 |
| 55 | 6: TypeInt 32 0 |
chrgau01@arm.com | c3f1cdf | 2016-11-14 10:10:05 +0100 | [diff] [blame] | 56 | 7: 6(int) Constant 2 |
John Kessenich | 8297936 | 2017-12-11 04:02:24 -0700 | [diff] [blame] | 57 | 8: 6(int) Constant 264 |
| 58 | 9: TypeFloat 32 |
| 59 | 10: TypeVector 9(float) 3 |
| 60 | 11: TypeRuntimeArray 10(fvec3) |
| 61 | 12(outb): TypeStruct 9(float) 9(float) 9(float) 11 |
| 62 | 13: TypePointer Uniform 12(outb) |
| 63 | 14(outbname): 13(ptr) Variable Uniform |
| 64 | 15: TypeInt 32 1 |
| 65 | 16: 15(int) Constant 0 |
| 66 | 17: TypePointer Workgroup 9(float) |
| 67 | 18(s): 17(ptr) Variable Workgroup |
| 68 | 20: TypePointer Uniform 9(float) |
| 69 | 22: TypeVector 9(float) 4 |
| 70 | 23(outbna): TypeStruct 15(int) 22(fvec4) |
| 71 | 24: TypePointer Uniform 23(outbna) |
| 72 | 25(outbnamena): 24(ptr) Variable Uniform |
| 73 | 26: 15(int) Constant 1 |
| 74 | 29: TypePointer Uniform 22(fvec4) |
| 75 | 31: 15(int) Constant 3 |
| 76 | 32: 15(int) Constant 18 |
| 77 | 33: 6(int) Constant 0 |
| 78 | 36: 15(int) Constant 17 |
| 79 | 37: 9(float) Constant 1077936128 |
| 80 | 38: 10(fvec3) ConstantComposite 37 37 37 |
| 81 | 39: TypePointer Uniform 10(fvec3) |
| 82 | 41: TypePointer Workgroup 15(int) |
chrgau01@arm.com | c3f1cdf | 2016-11-14 10:10:05 +0100 | [diff] [blame] | 83 | 42(i): 41(ptr) Variable Workgroup |
John Kessenich | 8297936 | 2017-12-11 04:02:24 -0700 | [diff] [blame] | 84 | 47: TypeRuntimeArray 22(fvec4) |
| 85 | 48(outs): TypeStruct 15(int) 47 |
chrgau01@arm.com | c3f1cdf | 2016-11-14 10:10:05 +0100 | [diff] [blame] | 86 | 49: TypePointer Uniform 48(outs) |
| 87 | 50(outnames): 49(ptr) Variable Uniform |
| 88 | 51: TypeVector 6(int) 3 |
| 89 | 52: TypePointer Input 51(ivec3) |
| 90 | 53(gl_LocalInvocationID): 52(ptr) Variable Input |
| 91 | 54: TypePointer Input 6(int) |
John Kessenich | 8297936 | 2017-12-11 04:02:24 -0700 | [diff] [blame] | 92 | 61: TypePointer Uniform 15(int) |
| 93 | 63: TypePointer Input 15(int) |
John Kessenich | c08fb8a | 2017-03-14 16:45:30 -0600 | [diff] [blame] | 94 | 64(gl_DeviceIndex): 63(ptr) Variable Input |
John Kessenich | 8297936 | 2017-12-11 04:02:24 -0700 | [diff] [blame] | 95 | 65: 6(int) Constant 1 |
John Kessenich | 2505057 | 2017-12-15 08:51:31 -0700 | [diff] [blame] | 96 | 66: 6(int) Constant 3400 |
John Kessenich | 8297936 | 2017-12-11 04:02:24 -0700 | [diff] [blame] | 97 | 67: 6(int) Constant 16 |
| 98 | 68: 6(int) Constant 32 |
| 99 | 69: 6(int) Constant 4 |
| 100 | 70: 51(ivec3) ConstantComposite 67 68 69 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 101 | 4(main): 2 Function None 3 |
| 102 | 5: Label |
John Kessenich | 8297936 | 2017-12-11 04:02:24 -0700 | [diff] [blame] | 103 | ControlBarrier 7 7 8 |
| 104 | 19: 9(float) Load 18(s) |
| 105 | 21: 20(ptr) AccessChain 14(outbname) 16 |
| 106 | Store 21 19 |
| 107 | 27: 9(float) Load 18(s) |
| 108 | 28: 22(fvec4) CompositeConstruct 27 27 27 27 |
| 109 | 30: 29(ptr) AccessChain 25(outbnamena) 26 |
| 110 | Store 30 28 |
| 111 | 34: 20(ptr) AccessChain 14(outbname) 31 32 33 |
| 112 | 35: 9(float) Load 34 |
| 113 | Store 18(s) 35 |
| 114 | 40: 39(ptr) AccessChain 14(outbname) 31 36 |
chrgau01@arm.com | c3f1cdf | 2016-11-14 10:10:05 +0100 | [diff] [blame] | 115 | Store 40 38 |
John Kessenich | 8297936 | 2017-12-11 04:02:24 -0700 | [diff] [blame] | 116 | 43: 15(int) Load 42(i) |
| 117 | 44: 9(float) Load 18(s) |
| 118 | 45: 10(fvec3) CompositeConstruct 44 44 44 |
| 119 | 46: 39(ptr) AccessChain 14(outbname) 31 43 |
chrgau01@arm.com | c3f1cdf | 2016-11-14 10:10:05 +0100 | [diff] [blame] | 120 | Store 46 45 |
John Kessenich | 8297936 | 2017-12-11 04:02:24 -0700 | [diff] [blame] | 121 | 55: 54(ptr) AccessChain 53(gl_LocalInvocationID) 33 |
chrgau01@arm.com | c3f1cdf | 2016-11-14 10:10:05 +0100 | [diff] [blame] | 122 | 56: 6(int) Load 55 |
John Kessenich | 8297936 | 2017-12-11 04:02:24 -0700 | [diff] [blame] | 123 | 57: 9(float) Load 18(s) |
| 124 | 58: 22(fvec4) CompositeConstruct 57 57 57 57 |
| 125 | 59: 29(ptr) AccessChain 50(outnames) 26 56 |
chrgau01@arm.com | c3f1cdf | 2016-11-14 10:10:05 +0100 | [diff] [blame] | 126 | Store 59 58 |
John Kessenich | 8297936 | 2017-12-11 04:02:24 -0700 | [diff] [blame] | 127 | 60: 15(int) ArrayLength 14(outbname) 3 |
| 128 | 62: 61(ptr) AccessChain 50(outnames) 16 |
chrgau01@arm.com | c3f1cdf | 2016-11-14 10:10:05 +0100 | [diff] [blame] | 129 | Store 62 60 |
John Kessenich | 8297936 | 2017-12-11 04:02:24 -0700 | [diff] [blame] | 130 | MemoryBarrier 65 8 |
| 131 | MemoryBarrier 7 66 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 132 | Return |
| 133 | FunctionEnd |