yum-mirror/glslang

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

Ashish Dhonepreprocessor: guard against OOB read in handlePragma for #pragma STDGL85e2c34c

16.5.0
672 B17 linesraw
1spv.pragma.stdgl.oob.vert
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 6
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint Vertex 4  "main"
10                              Source GLSL 450
11                              Name 4  "main"
12               2:             TypeVoid
13               3:             TypeFunction 2
14         4(main):           2 Function None 3
15               5:             Label
16                              Return
17                              FunctionEnd