yum-mirror/glslang

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

Ralph PotterGive the abort message separate value and laid out typesebe60e33

main
2.6 KiB51 linesraw
1spv.shader.abort.args.constants.comp
2// Module Version 10400
3// Generated by (magic number): 8000b
4// Id's are bound by 24
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 17  "abortMessageValueType"
20                              Name 18  "abortMessageLoadType"
21                              Decorate 9 UTFEncodedKHR
22                              Decorate 10 ArrayStride 1
23                              Decorate 10 UTFEncodedKHR
24                              MemberDecorate 18(abortMessageLoadType) 0 Offset 0
25                              MemberDecorate 18(abortMessageLoadType) 1 Offset 20
26                              MemberDecorate 18(abortMessageLoadType) 2 Offset 24
27                              MemberDecorate 18(abortMessageLoadType) 3 Offset 28
28                              Decorate 23 BuiltIn WorkgroupSize
29               2:             TypeVoid
30               3:             TypeFunction 2
31               6:             TypeInt 8 1
32               7:             TypeInt 32 0
33               8:      7(int) Constant 20
34               9:             TypeArray 6(int8_t) 8
35              10:             TypeArray 6(int8_t) 8
36              11:           9 ConstantDataKHR  "constants: %d %u %f"
37              12:             TypeInt 32 1
38              13:     12(int) Constant 4294967295
39              14:      7(int) Constant 2
40              15:             TypeFloat 32
41              16:   15(float) Constant 1080033280
4217(abortMessageValueType):             TypeStruct 9 12(int) 7(int) 15(float)
4318(abortMessageLoadType):             TypeStruct 10 12(int) 7(int) 15(float)
44              21:             TypeVector 7(int) 3
45              22:      7(int) Constant 1
46              23:   21(ivec3) ConstantComposite 22 22 22
47         4(main):           2 Function None 3
48               5:             Label
49              19:17(abortMessageValueType) CompositeConstruct 11 13 14 16
50                              AbortKHR 18(abortMessageLoadType) 19
51                              FunctionEnd