From dd9274df4f0bd2e13476686bfdd66fcd3239b322 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Thu, 11 Oct 2012 21:32:47 +0200 Subject: [PATCH] radeonsi: fixup the return type of is_format_supported --- src/gallium/drivers/radeonsi/si_state.c | 10 +++++----- src/gallium/drivers/radeonsi/si_state.h | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index d8b091eb6cb..c4c529fe2ab 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -1442,11 +1442,11 @@ static bool si_is_zs_format_supported(enum pipe_format format) return si_translate_dbformat(format) != ~0U; } -bool si_is_format_supported(struct pipe_screen *screen, - enum pipe_format format, - enum pipe_texture_target target, - unsigned sample_count, - unsigned usage) +boolean si_is_format_supported(struct pipe_screen *screen, + enum pipe_format format, + enum pipe_texture_target target, + unsigned sample_count, + unsigned usage) { unsigned retval = 0; diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h index 4231c841b93..136ac861e2f 100644 --- a/src/gallium/drivers/radeonsi/si_state.h +++ b/src/gallium/drivers/radeonsi/si_state.h @@ -131,11 +131,11 @@ union si_state { /* si_state.c */ struct si_pipe_shader_selector; -bool si_is_format_supported(struct pipe_screen *screen, - enum pipe_format format, - enum pipe_texture_target target, - unsigned sample_count, - unsigned usage); +boolean si_is_format_supported(struct pipe_screen *screen, + enum pipe_format format, + enum pipe_texture_target target, + unsigned sample_count, + unsigned usage); int si_shader_select(struct pipe_context *ctx, struct si_pipe_shader_selector *sel, unsigned *dirty); -- 2.30.2