radeonsi: fixup the return type of is_format_supported
authorMarek Olšák <maraeo@gmail.com>
Thu, 11 Oct 2012 19:32:47 +0000 (21:32 +0200)
committerMarek Olšák <maraeo@gmail.com>
Thu, 11 Oct 2012 19:32:47 +0000 (21:32 +0200)
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state.h

index d8b091eb6cba1bcdb405abb7eb51be17d7e373cd..c4c529fe2abf98ff8373195014aacd555051c3b8 100644 (file)
@@ -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;
 
index 4231c841b93c817f356932af4e6e4be0a70d4f9e..136ac861e2f6b5bf0ba719fce9d850c7d185be65 100644 (file)
@@ -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);