yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

Jeff BolzFix crash calling coopMatLoadTensorNV on an array element8842cf92

main
4.5 KiB91 linesraw
1spv.1.3.coopmat.comp
2// Module Version 10300
3// Generated by (magic number): 8000b
4// Id's are bound by 50
5
6                              Capability Shader
7                              Capability VariablePointers
8                              Capability VulkanMemoryModelKHR
9                              Capability CooperativeMatrixNV
10                              Extension  "SPV_KHR_vulkan_memory_model"
11                              Extension  "SPV_NV_cooperative_matrix"
12               1:             ExtInstImport  "GLSL.std.450"
13                              MemoryModel Logical VulkanKHR
14                              EntryPoint GLCompute 4  "main"
15                              ExecutionMode 4 LocalSize 64 1 1
16                              Source GLSL 450
17                              SourceExtension  "GL_EXT_shader_explicit_arithmetic_types_float16"
18                              SourceExtension  "GL_KHR_memory_scope_semantics"
19                              SourceExtension  "GL_NV_cooperative_matrix"
20                              Name 4  "main"
21                              Name 13  "m"
22                              Name 32  "Block"
23                              MemberName 32(Block) 0  "y"
24                              MemberName 32(Block) 1  "x"
25                              Name 34  "block"
26                              Decorate 30 ArrayStride 4
27                              Decorate 31 ArrayStride 4
28                              Decorate 32(Block) Block
29                              MemberDecorate 32(Block) 0 Offset 0
30                              MemberDecorate 32(Block) 1 Offset 4194304
31                              Decorate 34(block) Binding 0
32                              Decorate 34(block) DescriptorSet 0
33                              Decorate 49 BuiltIn WorkgroupSize
34               2:             TypeVoid
35               3:             TypeFunction 2
36               6:             TypeFloat 32
37               7:             TypeInt 32 0
38               8:      7(int) Constant 3
39               9:      7(int) Constant 16
40              10:      7(int) Constant 8
41              11:             TypeCooperativeMatrixNV 6(float) 8 9 10
42              12:             TypePointer Function 11
43              14:    6(float) Constant 0
44              15:          11 ConstantComposite 14
45              24:    6(float) Constant 1073741824
46              29:      7(int) Constant 1048576
47              30:             TypeArray 6(float) 29
48              31:             TypeRuntimeArray 6(float)
49       32(Block):             TypeStruct 30 31
50              33:             TypePointer StorageBuffer 32(Block)
51       34(block):     33(ptr) Variable StorageBuffer
52              35:             TypeInt 32 1
53              36:     35(int) Constant 1
54              37:      7(int) Constant 5
55              38:             TypePointer StorageBuffer 6(float)
56              40:      7(int) Constant 128
57              41:             TypeBool
58              42:    41(bool) ConstantFalse
59              46:             TypeVector 7(int) 3
60              47:      7(int) Constant 64
61              48:      7(int) Constant 1
62              49:   46(ivec3) ConstantComposite 47 48 48
63         4(main):           2 Function None 3
64               5:             Label
65           13(m):     12(ptr) Variable Function
66                              Store 13(m) 15
67              16:          11 Load 13(m)
68              17:          11 Load 13(m)
69              18:          11 FAdd 16 17
70                              Store 13(m) 18
71              19:          11 Load 13(m)
72              20:          11 Load 13(m)
73              21:          11 FSub 19 20
74                              Store 13(m) 21
75              22:          11 Load 13(m)
76              23:          11 FNegate 22
77                              Store 13(m) 23
78              25:          11 Load 13(m)
79              26:          11 MatrixTimesScalar 25 24
80                              Store 13(m) 26
81              27:          11 Load 13(m)
82              28:          11 MatrixTimesScalar 27 24
83                              Store 13(m) 28
84              39:     38(ptr) AccessChain 34(block) 36 9
85              43:          11 CooperativeMatrixLoadNV 39 40 42 MakePointerVisibleKHR NonPrivatePointerKHR 37
86                              Store 13(m) 43
87              44:          11 Load 13(m)
88              45:     38(ptr) AccessChain 34(block) 36 9
89                              CooperativeMatrixStoreNV 45 44 40 42 MakePointerAvailableKHR NonPrivatePointerKHR 37
90                              Return
91                              FunctionEnd