summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2007-03-18 21:24:49 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2007-03-18 21:24:49 +0000
commitb151abdd6c7d353bac2a34cd792ab0bfad552f4e (patch)
treef409f20f704054f82b66df6dd1694d56a153736d
parentd1d6715d23e8a7dc73cc62813436d57a87cd541c (diff)
add a couple of blit commands
-rw-r--r--src/mesa/drivers/dri/i915tex/i915_vtbl.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915tex/i915_vtbl.c b/src/mesa/drivers/dri/i915tex/i915_vtbl.c
index a30fc743ed..aff49e22b4 100644
--- a/src/mesa/drivers/dri/i915tex/i915_vtbl.c
+++ b/src/mesa/drivers/dri/i915tex/i915_vtbl.c
@@ -82,7 +82,14 @@ static GLuint i915_debug_packet(const GLuint *stream)
case 0x1:
return 0;
case 0x2:
- return debug(stream, "blit command", (cmd & 0xff) + 2);
+ switch ((cmd >> 22) & 0xff) {
+ case 0x50:
+ return debug(stream, "XY_COLOR_BLT", (cmd & 0xff) + 2);
+ case 0x53:
+ return debug(stream, "XY_SRC_COPY_BLT", (cmd & 0xff) + 2);
+ default:
+ return debug(stream, "blit command", (cmd & 0xff) + 2);
+ }
case 0x3:
switch ((cmd >> 24) & 0x1f) {
case 0x6: