| spv.structuredDescriptorHeap.MatrixLayout.comp | |
| // Module Version 10400 | |
| // Generated by (magic number): 8000b | |
| // Id's are bound by 50 | |
| Capability Shader | |
| Capability UntypedPointersKHR | |
| Capability DescriptorHeapEXT | |
| Extension "SPV_EXT_descriptor_heap" | |
| Extension "SPV_KHR_untyped_pointers" | |
| 1: ExtInstImport "GLSL.std.450" | |
| MemoryModel Logical GLSL450 | |
| EntryPoint GLCompute 4 "main" 15 11 | |
| ExecutionMode 4 LocalSize 1 1 1 | |
| Source GLSL 460 | |
| SourceExtension "GL_EXT_descriptor_heap" | |
| SourceExtension "GL_EXT_scalar_block_layout" | |
| SourceExtension "GL_EXT_structured_descriptor_heap" | |
| Name 4 "main" | |
| Name 9 "Result" | |
| MemberName 9(Result) 0 "rowMajorValue" | |
| MemberName 9(Result) 1 "columnMajorValue" | |
| Name 11 "resultBuffer" | |
| Name 15 "resource_heap" | |
| Name 37 "MatrixHeap" | |
| Name 38 "matrixHeap" | |
| Name 43 "matrixHeap" | |
| Decorate 9(Result) Block | |
| MemberDecorate 9(Result) 0 Offset 0 | |
| MemberDecorate 9(Result) 1 Offset 16 | |
| Decorate 11(resultBuffer) Binding 0 | |
| Decorate 11(resultBuffer) DescriptorSet 0 | |
| Decorate 15(resource_heap) BuiltIn ResourceHeapEXT | |
| MemberDecorate 37(MatrixHeap) 0 RowMajor | |
| MemberDecorate 37(MatrixHeap) 0 MatrixStride 16 | |
| MemberDecorate 37(MatrixHeap) 1 ColMajor | |
| MemberDecorate 37(MatrixHeap) 1 MatrixStride 16 | |
| MemberDecorateIdEXT 37(MatrixHeap) 0 OffsetIdEXT 34 | |
| MemberDecorateIdEXT 37(MatrixHeap) 1 OffsetIdEXT 35 | |
| MemberDecorateIdEXT 37(MatrixHeap) 2 OffsetIdEXT 36 | |
| Decorate 49 BuiltIn WorkgroupSize | |
| 2: TypeVoid | |
| 3: TypeFunction 2 | |
| 6: TypeFloat 32 | |
| 7: TypeVector 6(float) 3 | |
| 8: TypeVector 6(float) 4 | |
| 9(Result): TypeStruct 7(fvec3) 8(fvec4) | |
| 10: TypePointer StorageBuffer 9(Result) | |
| 11(resultBuffer): 10(ptr) Variable StorageBuffer | |
| 12: TypeInt 32 1 | |
| 13: 12(int) Constant 0 | |
| 14: TypeUntypedPointerKHR UniformConstant | |
| 15(resource_heap): 14(ptr) UntypedVariableKHR UniformConstant | |
| 16: TypeMatrix 7(fvec3) 4 | |
| 17: TypeMatrix 8(fvec4) 3 | |
| 18: TypeImage 6(float) 2D sampled format:Unknown | |
| 19: TypeInt 32 0 | |
| 20: 19(int) Constant 0 | |
| 21: 19(int) Constant 48 | |
| 22: 19(int) SpecConstantOp 128 20 21 | |
| 23: 19(int) Constant 4 | |
| 24: 19(int) SpecConstantOp 137 22 23 | |
| 25: 19(int) SpecConstantOp 130 23 24 | |
| 26: 19(int) SpecConstantOp 137 25 23 | |
| 27: 19(int) SpecConstantOp 128 22 26 | |
| 28: 19(int) SpecConstantOp 128 27 21 | |
| 29: 19(int) ConstantSizeOfEXT 18 | |
| 30: 19(int) SpecConstantOp 137 28 29 | |
| 31: 19(int) SpecConstantOp 130 29 30 | |
| 32: 19(int) SpecConstantOp 137 31 29 | |
| 33: 19(int) SpecConstantOp 128 28 32 | |
| 34: 19(int) Constant 2048 | |
| 35: 19(int) SpecConstantOp 128 34 27 | |
| 36: 19(int) SpecConstantOp 128 34 33 | |
| 37(MatrixHeap): TypeStruct 16 17 18 | |
| 40: TypePointer StorageBuffer 7(fvec3) | |
| 42: 12(int) Constant 1 | |
| 45: TypePointer StorageBuffer 8(fvec4) | |
| 47: TypeVector 19(int) 3 | |
| 48: 19(int) Constant 1 | |
| 49: 47(ivec3) ConstantComposite 48 48 48 | |
| 4(main): 2 Function None 3 | |
| 5: Label | |
| 38(matrixHeap): 14(ptr) UntypedAccessChainKHR 37(MatrixHeap) 15(resource_heap) 13 13 | |
| 39: 7(fvec3) Load 38(matrixHeap) | |
| 41: 40(ptr) AccessChain 11(resultBuffer) 13 | |
| Store 41 39 | |
| 43(matrixHeap): 14(ptr) UntypedAccessChainKHR 37(MatrixHeap) 15(resource_heap) 42 13 | |
| 44: 8(fvec4) Load 43(matrixHeap) | |
| 46: 45(ptr) AccessChain 11(resultBuffer) 42 | |
| Store 46 44 | |
| Return | |
| FunctionEnd |