yum-mirror/glslang

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

Jeff BolzOnly set afterType when a token is recognized as a keyword (#4142)78812262

main
1.5 KiB35 linesraw
1spv.longVectorNotReserved.comp
2// Module Version 10300
3// Generated by (magic number): 8000b
4// Id's are bound by 19
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint GLCompute 4  "main"
10                              ExecutionMode 4 LocalSize 64 1 1
11                              Source GLSL 450
12                              Name 4  "main"
13                              Name 8  "f"
14                              Name 11  "vector"
15                              Decorate 18 BuiltIn WorkgroupSize
16               2:             TypeVoid
17               3:             TypeFunction 2
18               6:             TypeFloat 32
19               7:             TypePointer Function 6(float)
20               9:             TypeVector 6(float) 4
21              10:             TypePointer Function 9(fvec4)
22              12:             TypeInt 32 0
23              13:     12(int) Constant 1
24              16:             TypeVector 12(int) 3
25              17:     12(int) Constant 64
26              18:   16(ivec3) ConstantComposite 17 13 13
27         4(main):           2 Function None 3
28               5:             Label
29            8(f):      7(ptr) Variable Function
30      11(vector):     10(ptr) Variable Function
31              14:      7(ptr) AccessChain 11(vector) 13
32              15:    6(float) Load 14
33                              Store 8(f) 15
34                              Return
35                              FunctionEnd