Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
deqp-deps
/
glslang
/
4e9e400ec602565f8cb624ab856ede5c1c189b15
/
.
/
Test
/
spv.bool.vert
blob: f58bc55d5b2d0904a4e6dd0cdad173e1aec3b916 [
file
] [
log
] [
blame
]
#version 450
const
bool
condition
=
false
;
uniform ubname
{
bool
b
;
}
ubinst
;
bool
foo
(
bool
b
)
{
return
b
!=
condition
;
}
void
main
()
{
gl_Position
=
foo
(
ubinst
.
b
)
?
vec4
(
0.0
)
:
vec4
(
1.0
);
}