yum-mirror/glslang

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

John KessenichSPV: Protect getStorageClass() with a test that the thing is pointer.e00e72de

main
221 B17 linesraw
1#version 450
2
3const bool condition = false;
4
5uniform ubname {
6    bool b;
7} ubinst;
8
9bool foo(bool b)
10{
11	return b != condition;
12}
13
14void main()
15{
16    gl_Position = foo(ubinst.b) ? vec4(0.0) : vec4(1.0);
17}