Commit a805e4e9 authored by Erik Faye-Lund 's avatar Erik Faye-Lund

st/mesa: use real bool for can_ubo

We're doing full c99 now, so there's no point in using the old boolean
type.
Signed-off-by: Erik Faye-Lund 's avatarErik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
Reviewed-by: Gurchetan Singh's avatarGurchetan Singh <gurchetansingh@chromium.org>
parent 28e542dc
......@@ -81,7 +81,7 @@ void st_init_limits(struct pipe_screen *screen,
{
int supported_irs;
unsigned sh;
boolean can_ubo = TRUE;
bool can_ubo = true;
int temp;
bool ssbo_atomic = true;
......@@ -160,7 +160,7 @@ void st_init_limits(struct pipe_screen *screen,
c->MaxUniformBlockSize = MIN2(c->MaxUniformBlockSize, INT_MAX - 127);
if (c->MaxUniformBlockSize < 16384) {
can_ubo = FALSE;
can_ubo = false;
}
for (sh = 0; sh < PIPE_SHADER_TYPES; ++sh) {
......@@ -301,7 +301,7 @@ void st_init_limits(struct pipe_screen *screen,
if (pc->MaxNativeInstructions &&
(options->EmitNoIndirectUniform || pc->MaxUniformBlocks < 12)) {
can_ubo = FALSE;
can_ubo = false;
}
if (options->EmitNoLoops)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment