| spv.longVectorLength.comp |
| // Module Version 10300 |
| // Generated by (magic number): 8000b |
| // Id's are bound by 24 |
| |
| 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 9 "v" |
| Name 12 "OutBuf" |
| MemberName 12(OutBuf) 0 "out_len" |
| Name 14 "outbuf" |
| Decorate 12(OutBuf) Block |
| MemberDecorate 12(OutBuf) 0 Offset 0 |
| Decorate 14(outbuf) Binding 0 |
| Decorate 14(outbuf) DescriptorSet 0 |
| Decorate 23 BuiltIn WorkgroupSize |
| 2: TypeVoid |
| 3: TypeFunction 2 |
| 6: TypeInt 32 1 |
| 7: TypeVector 6(int) 12 |
| 8: TypePointer Function 7(ivec) |
| 10: 6(int) Constant 1 |
| 11: 7(ivec) ConstantComposite 10 10 10 10 10 10 10 10 10 10 10 10 |
| 12(OutBuf): TypeStruct 6(int) |
| 13: TypePointer StorageBuffer 12(OutBuf) |
| 14(outbuf): 13(ptr) Variable StorageBuffer |
| 15: 6(int) Constant 0 |
| 16: 6(int) Constant 12 |
| 18: TypePointer StorageBuffer 6(int) |
| 20: TypeInt 32 0 |
| 21: TypeVector 20(int) 3 |
| 22: 20(int) Constant 1 |
| 23: 21(ivec3) ConstantComposite 22 22 22 |
| 4(main): 2 Function None 3 |
| 5: Label |
| 9(v): 8(ptr) Variable Function |
| Store 9(v) 11 |
| 17: 6(int) Bitcast 16 |
| 19: 18(ptr) AccessChain 14(outbuf) 15 |
| Store 19 17 |
| Return |
| FunctionEnd |