diff options
author | Erik Faye-Lund <[email protected]> | 2018-08-29 15:24:26 +0200 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2018-09-05 05:46:09 +0100 |
commit | a805e4e9de2540ec7a7115efb76337f39826e017 (patch) | |
tree | ef1ea4d07ad17807cfb6817cbd142869253e6093 | |
parent | 28e542dcdbb8a1187007b588c2b8f91f92870a24 (diff) |
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 <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Gurchetan Singh <[email protected]>
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 29a32513085..8cb80f99324 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -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) |