summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_blit.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-06-26 17:35:56 +0200
committerMarek Olšák <[email protected]>2010-06-26 17:35:56 +0200
commitf39800b33908180fcf60a80c367525aef869b929 (patch)
tree7e2038cda3cff4d9f7d6ab37984d43a69672084d /src/gallium/drivers/r300/r300_blit.c
parent8924201530f99eb01f9390910b18fe2a47d70c49 (diff)
r300g: enum r300_blitter_op is a bitmask
Diffstat (limited to 'src/gallium/drivers/r300/r300_blit.c')
-rw-r--r--src/gallium/drivers/r300/r300_blit.c8
1 files changed, 4 insertions, 4 deletions
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)