blob: bbe0fba61ac6392f5f0123ed324801646680d6b7 [file] [log] [blame]
spv.1.3.coopmat.comp
// Module Version 10300
// Generated by (magic number): 8000b
// Id's are bound by 50
Capability Shader
Capability VariablePointers
Capability VulkanMemoryModelKHR
Capability CooperativeMatrixNV
Extension "SPV_KHR_vulkan_memory_model"
Extension "SPV_NV_cooperative_matrix"
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical VulkanKHR
EntryPoint GLCompute 4 "main"
ExecutionMode 4 LocalSize 64 1 1
Source GLSL 450
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float16"
SourceExtension "GL_KHR_memory_scope_semantics"
SourceExtension "GL_NV_cooperative_matrix"
Name 4 "main"
Name 13 "m"
Name 32 "Block"
MemberName 32(Block) 0 "y"
MemberName 32(Block) 1 "x"
Name 34 "block"
Decorate 30 ArrayStride 4
Decorate 31 ArrayStride 4
Decorate 32(Block) Block
MemberDecorate 32(Block) 0 Offset 0
MemberDecorate 32(Block) 1 Offset 4194304
Decorate 34(block) Binding 0
Decorate 34(block) DescriptorSet 0
Decorate 49 BuiltIn WorkgroupSize
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypeInt 32 0
8: 7(int) Constant 3
9: 7(int) Constant 16
10: 7(int) Constant 8
11: TypeCooperativeMatrixNV 6(float) 8 9 10
12: TypePointer Function 11
14: 6(float) Constant 0
15: 11 ConstantComposite 14
24: 6(float) Constant 1073741824
29: 7(int) Constant 1048576
30: TypeArray 6(float) 29
31: TypeRuntimeArray 6(float)
32(Block): TypeStruct 30 31
33: TypePointer StorageBuffer 32(Block)
34(block): 33(ptr) Variable StorageBuffer
35: TypeInt 32 1
36: 35(int) Constant 1
37: 7(int) Constant 5
38: TypePointer StorageBuffer 6(float)
40: 7(int) Constant 128
41: TypeBool
42: 41(bool) ConstantFalse
46: TypeVector 7(int) 3
47: 7(int) Constant 64
48: 7(int) Constant 1
49: 46(ivec3) ConstantComposite 47 48 48
4(main): 2 Function None 3
5: Label
13(m): 12(ptr) Variable Function
Store 13(m) 15
16: 11 Load 13(m)
17: 11 Load 13(m)
18: 11 FAdd 16 17
Store 13(m) 18
19: 11 Load 13(m)
20: 11 Load 13(m)
21: 11 FSub 19 20
Store 13(m) 21
22: 11 Load 13(m)
23: 11 FNegate 22
Store 13(m) 23
25: 11 Load 13(m)
26: 11 MatrixTimesScalar 25 24
Store 13(m) 26
27: 11 Load 13(m)
28: 11 MatrixTimesScalar 27 24
Store 13(m) 28
39: 38(ptr) AccessChain 34(block) 36 9
43: 11 CooperativeMatrixLoadNV 39 40 42 MakePointerVisibleKHR NonPrivatePointerKHR 37
Store 13(m) 43
44: 11 Load 13(m)
45: 38(ptr) AccessChain 34(block) 36 9
CooperativeMatrixStoreNV 45 44 40 42 MakePointerAvailableKHR NonPrivatePointerKHR 37
Return
FunctionEnd