From: Marek Olšák Date: Sat, 26 Jun 2010 15:35:56 +0000 (+0200) Subject: r300g: enum r300_blitter_op is a bitmask X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f39800b33908180fcf60a80c367525aef869b929;p=mesa.git r300g: enum r300_blitter_op is a bitmask --- diff --git a/src/gallium/drivers/r300/r300_blit.c b/src/gallium/drivers/r300/r300_blit.c index 389354c4e4a..c88f44bf2e6 100644 --- a/src/gallium/drivers/r300/r300_blit.c +++ b/src/gallium/drivers/r300/r300_blit.c @@ -25,11 +25,11 @@ #include "util/u_format.h" -enum r300_blitter_op +enum r300_blitter_op /* bitmask */ { - R300_CLEAR, - R300_CLEAR_SURFACE, - R300_COPY + R300_CLEAR = 1, + R300_CLEAR_SURFACE = 2, + R300_COPY = 4 }; static void r300_blitter_begin(struct r300_context* r300, enum r300_blitter_op op)