• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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}
18