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.3 KiB65 linesraw
1spv.shader.abort.args.int2.comp
2// Module Version 10400
3// Generated by (magic number): 8000b
4// Id's are bound by 30
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
15                              ExecutionMode 4 LocalSize 1 1 1
16                              Source GLSL 450
17                              SourceExtension  "GL_EXT_abort"
18                              Name 4  "main"
19                              Name 13  "Data"
20                              MemberName 13(Data) 0  "a"
21                              MemberName 13(Data) 1  "b"
22                              Name 15  "data"
23                              Name 23  "abortMessageValueType"
24                              Name 24  "abortMessageLoadType"
25                              Decorate 9 UTFEncodedKHR
26                              Decorate 10 ArrayStride 1
27                              Decorate 10 UTFEncodedKHR
28                              Decorate 13(Data) Block
29                              MemberDecorate 13(Data) 0 Offset 0
30                              MemberDecorate 13(Data) 1 Offset 4
31                              Decorate 15(data) Binding 0
32                              Decorate 15(data) DescriptorSet 0
33                              MemberDecorate 24(abortMessageLoadType) 0 Offset 0
34                              MemberDecorate 24(abortMessageLoadType) 1 Offset 12
35                              MemberDecorate 24(abortMessageLoadType) 2 Offset 16
36                              Decorate 29 BuiltIn WorkgroupSize
37               2:             TypeVoid
38               3:             TypeFunction 2
39               6:             TypeInt 8 1
40               7:             TypeInt 32 0
41               8:      7(int) Constant 12
42               9:             TypeArray 6(int8_t) 8
43              10:             TypeArray 6(int8_t) 8
44              11:           9 ConstantDataKHR  "ints: %d %i"
45              12:             TypeInt 32 1
46        13(Data):             TypeStruct 12(int) 12(int)
47              14:             TypePointer StorageBuffer 13(Data)
48        15(data):     14(ptr) Variable StorageBuffer
49              16:     12(int) Constant 0
50              17:             TypePointer StorageBuffer 12(int)
51              20:     12(int) Constant 1
5223(abortMessageValueType):             TypeStruct 9 12(int) 12(int)
5324(abortMessageLoadType):             TypeStruct 10 12(int) 12(int)
54              27:             TypeVector 7(int) 3
55              28:      7(int) Constant 1
56              29:   27(ivec3) ConstantComposite 28 28 28
57         4(main):           2 Function None 3
58               5:             Label
59              18:     17(ptr) AccessChain 15(data) 16
60              19:     12(int) Load 18
61              21:     17(ptr) AccessChain 15(data) 20
62              22:     12(int) Load 21
63              25:23(abortMessageValueType) CompositeConstruct 11 19 22
64                              AbortKHR 24(abortMessageLoadType) 25
65                              FunctionEnd