| spv.noexplicitlayout.comp |
| // Module Version 10600 |
| // Generated by (magic number): 8000b |
| // Id's are bound by 38 |
| |
| Capability Shader |
| 1: ExtInstImport "GLSL.std.450" |
| MemoryModel Logical GLSL450 |
| EntryPoint GLCompute 4 "main" 12 24 |
| ExecutionMode 4 LocalSize 64 1 1 |
| Source GLSL 450 |
| Name 4 "main" |
| Name 10 "foo" |
| MemberName 10(foo) 0 "x" |
| Name 12 "f" |
| Name 16 "x" |
| Name 21 "Bar" |
| MemberName 21(Bar) 0 "x" |
| MemberName 21(Bar) 1 "y" |
| MemberName 21(Bar) 2 "z" |
| Name 22 "foo2" |
| MemberName 22(foo2) 0 "a" |
| MemberName 22(foo2) 1 "b" |
| MemberName 22(foo2) 2 "c" |
| Name 24 "" |
| Name 27 "Bar" |
| MemberName 27(Bar) 0 "x" |
| MemberName 27(Bar) 1 "y" |
| MemberName 27(Bar) 2 "z" |
| Name 29 "new_bar" |
| Decorate 9 ArrayStride 4 |
| Decorate 10(foo) Block |
| MemberDecorate 10(foo) 0 Offset 0 |
| Decorate 12(f) Binding 0 |
| Decorate 12(f) DescriptorSet 0 |
| Decorate 20 ArrayStride 4 |
| MemberDecorate 21(Bar) 0 Offset 0 |
| MemberDecorate 21(Bar) 1 Offset 4 |
| MemberDecorate 21(Bar) 2 Offset 8 |
| Decorate 22(foo2) Block |
| MemberDecorate 22(foo2) 0 Offset 0 |
| MemberDecorate 22(foo2) 1 Offset 16 |
| MemberDecorate 22(foo2) 2 Offset 32 |
| Decorate 24 Binding 1 |
| Decorate 24 DescriptorSet 0 |
| 2: TypeVoid |
| 3: TypeFunction 2 |
| 6: TypeInt 32 1 |
| 7: TypeInt 32 0 |
| 8: 7(int) Constant 4 |
| 9: TypeArray 6(int) 8 |
| 10(foo): TypeStruct 9 |
| 11: TypePointer StorageBuffer 10(foo) |
| 12(f): 11(ptr) Variable StorageBuffer |
| 13: 6(int) Constant 0 |
| 14: TypeArray 6(int) 8 |
| 15: TypePointer Function 14 |
| 17: 14 ConstantComposite 13 13 13 13 |
| 18: TypeVector 7(int) 4 |
| 19: 7(int) Constant 2 |
| 20: TypeArray 7(int) 19 |
| 21(Bar): TypeStruct 7(int) 7(int) 20 |
| 22(foo2): TypeStruct 18(ivec4) 21(Bar) 7(int) |
| 23: TypePointer StorageBuffer 22(foo2) |
| 24: 23(ptr) Variable StorageBuffer |
| 25: 6(int) Constant 1 |
| 26: TypeArray 7(int) 19 |
| 27(Bar): TypeStruct 7(int) 7(int) 26 |
| 28: TypePointer Function 27(Bar) |
| 31: TypePointer StorageBuffer 21(Bar) |
| 34: TypeVector 7(int) 3 |
| 35: 7(int) Constant 64 |
| 36: 7(int) Constant 1 |
| 37: 34(ivec3) ConstantComposite 35 36 36 |
| 4(main): 2 Function None 3 |
| 5: Label |
| 16(x): 15(ptr) Variable Function |
| 29(new_bar): 28(ptr) Variable Function |
| Store 16(x) 17 |
| 30: 27(Bar) Load 29(new_bar) |
| 32: 31(ptr) AccessChain 24 25 |
| 33: 21(Bar) CopyLogical 30 |
| Store 32 33 |
| Return |
| FunctionEnd |