blob: f58bc55d5b2d0904a4e6dd0cdad173e1aec3b916 [file] [log] [blame]
John Kesseniche00e72d2015-12-08 20:48:49 -07001#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}