yum-mirror/glslang

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

Ralph PotterGive the abort message separate value and laid out typesebe60e33

main
3.1 KiB61 linesraw
1spv.shader.abort.matrix_param.comp
2// Module Version 10400
3// Generated by (magic number): 8000b
4// Id's are bound by 32
5
6                              Capability Shader
7                              Capability Int8
8                              Capability AbortKHR
9                              Capability ConstantDataKHR
10                              Extension  "SPV_KHR_abort"
11                              Extension  "SPV_KHR_constant_data"
12               1:             ExtInstImport  "GLSL.std.450"
13                              MemoryModel Logical GLSL450
14                              EntryPoint GLCompute 4  "main"
15                              ExecutionMode 4 LocalSize 1 1 1
16                              Source GLSL 450
17                              SourceExtension  "GL_EXT_abort"
18                              Name 4  "main"
19                              Name 10  "matrix"
20                              Name 25  "abortMessageValueType"
21                              Name 26  "abortMessageLoadType"
22                              Decorate 21 UTFEncodedKHR
23                              Decorate 22 ArrayStride 1
24                              Decorate 22 UTFEncodedKHR
25                              MemberDecorate 26(abortMessageLoadType) 0 Offset 0
26                              MemberDecorate 26(abortMessageLoadType) 1 ColMajor
27                              MemberDecorate 26(abortMessageLoadType) 1 MatrixStride 16
28                              MemberDecorate 26(abortMessageLoadType) 1 Offset 16
29                              Decorate 31 BuiltIn WorkgroupSize
30               2:             TypeVoid
31               3:             TypeFunction 2
32               6:             TypeFloat 32
33               7:             TypeVector 6(float) 4
34               8:             TypeMatrix 7(fvec4) 4
35               9:             TypePointer Function 8
36              11:    6(float) Constant 1065353216
37              12:    6(float) Constant 0
38              13:    7(fvec4) ConstantComposite 11 12 12 12
39              14:    7(fvec4) ConstantComposite 12 11 12 12
40              15:    7(fvec4) ConstantComposite 12 12 11 12
41              16:    7(fvec4) ConstantComposite 12 12 12 11
42              17:           8 ConstantComposite 13 14 15 16
43              18:             TypeInt 8 1
44              19:             TypeInt 32 0
45              20:     19(int) Constant 16
46              21:             TypeArray 18(int8_t) 20
47              22:             TypeArray 18(int8_t) 20
48              23:          21 ConstantDataKHR  "matrix: %m44"
4925(abortMessageValueType):             TypeStruct 21 8
5026(abortMessageLoadType):             TypeStruct 22 8
51              29:             TypeVector 19(int) 3
52              30:     19(int) Constant 1
53              31:   29(ivec3) ConstantComposite 30 30 30
54         4(main):           2 Function None 3
55               5:             Label
56      10(matrix):      9(ptr) Variable Function
57                              Store 10(matrix) 17
58              24:           8 Load 10(matrix)
59              27:25(abortMessageValueType) CompositeConstruct 23 24
60                              AbortKHR 26(abortMessageLoadType) 27
61                              FunctionEnd