diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2007-03-18 21:24:49 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2007-03-18 21:24:49 +0000 |
commit | b151abdd6c7d353bac2a34cd792ab0bfad552f4e (patch) | |
tree | f409f20f704054f82b66df6dd1694d56a153736d | |
parent | d1d6715d23e8a7dc73cc62813436d57a87cd541c (diff) |
add a couple of blit commands
-rw-r--r-- | src/mesa/drivers/dri/i915tex/i915_vtbl.c | 9 |
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: |