summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_state.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-10-11 21:32:47 +0200
committerMarek Olšák <[email protected]>2012-10-11 21:32:47 +0200
commitdd9274df4f0bd2e13476686bfdd66fcd3239b322 (patch)
tree80320d8e36a8203fb660ba6e59c4b3f4902d8810 /src/gallium/drivers/radeonsi/si_state.c
parent8e3e4145ce1bafe3183f8f27ccbc03c74f8dc23c (diff)
radeonsi: fixup the return type of is_format_supported
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_state.c10
1 files changed, 5 insertions, 5 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;