| spv.longVectorFixedArrayLength.comp |
| // Module Version 10300 |
| // Generated by (magic number): 8000b |
| // Id's are bound by 33 |
| |
| Capability Shader |
| Capability LongVectorEXT |
| Extension "SPV_EXT_long_vector" |
| 1: ExtInstImport "GLSL.std.450" |
| MemoryModel Logical GLSL450 |
| EntryPoint GLCompute 4 "main" |
| ExecutionMode 4 LocalSize 1 1 1 |
| Source GLSL 460 |
| SourceExtension "GL_EXT_long_vector" |
| Name 4 "main" |
| Name 12 "vals" |
| Name 18 "OutBuf" |
| MemberName 18(OutBuf) 0 "out_len" |
| MemberName 18(OutBuf) 1 "out_last" |
| Name 20 "outbuf" |
| Decorate 18(OutBuf) Block |
| MemberDecorate 18(OutBuf) 0 Offset 0 |
| MemberDecorate 18(OutBuf) 1 Offset 4 |
| Decorate 20(outbuf) Binding 0 |
| Decorate 20(outbuf) DescriptorSet 0 |
| Decorate 32 BuiltIn WorkgroupSize |
| 2: TypeVoid |
| 3: TypeFunction 2 |
| 6: TypeInt 32 1 |
| 7: TypeVector 6(int) 12 |
| 8: TypeInt 32 0 |
| 9: 8(int) Constant 4 |
| 10: TypeArray 7(ivec) 9 |
| 11: TypePointer Function 10 |
| 13: 6(int) Constant 0 |
| 14: 6(int) Constant 1 |
| 15: 7(ivec) ConstantComposite 14 14 14 14 14 14 14 14 14 14 14 14 |
| 16: TypePointer Function 7(ivec) |
| 18(OutBuf): TypeStruct 6(int) 6(int) |
| 19: TypePointer StorageBuffer 18(OutBuf) |
| 20(outbuf): 19(ptr) Variable StorageBuffer |
| 21: 6(int) Constant 4 |
| 22: TypePointer StorageBuffer 6(int) |
| 24: 6(int) Constant 3 |
| 25: 6(int) Constant 11 |
| 26: TypePointer Function 6(int) |
| 30: TypeVector 8(int) 3 |
| 31: 8(int) Constant 1 |
| 32: 30(ivec3) ConstantComposite 31 31 31 |
| 4(main): 2 Function None 3 |
| 5: Label |
| 12(vals): 11(ptr) Variable Function |
| 17: 16(ptr) AccessChain 12(vals) 13 |
| Store 17 15 |
| 23: 22(ptr) AccessChain 20(outbuf) 13 |
| Store 23 21 |
| 27: 26(ptr) AccessChain 12(vals) 24 25 |
| 28: 6(int) Load 27 |
| 29: 22(ptr) AccessChain 20(outbuf) 14 |
| Store 29 28 |
| Return |
| FunctionEnd |