diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2007-03-18 20:59:56 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2007-03-18 20:59:56 +0000 |
commit | d1d6715d23e8a7dc73cc62813436d57a87cd541c (patch) | |
tree | d1503f13e8510056450b3d0cdb821e06c6ceddfc | |
parent | 834e151b24b783ecd888c1b9cb8b93cbb890c84c (diff) |
fix program and constant packet size calculation
-rw-r--r-- | src/mesa/drivers/dri/i915tex/i915_vtbl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i915tex/i915_vtbl.c b/src/mesa/drivers/dri/i915tex/i915_vtbl.c index 08d649aad5..a30fc743ed 100644 --- a/src/mesa/drivers/dri/i915tex/i915_vtbl.c +++ b/src/mesa/drivers/dri/i915tex/i915_vtbl.c @@ -123,9 +123,9 @@ static GLuint i915_debug_packet(const GLuint *stream) case 0x4: return debug(stream, "3DSTATE_LOAD_STATE_IMMEDIATE", (cmd & 0xf) + 2); case 0x5: - return debug(stream, "3DSTATE_PIXEL_SHADER_PROGRAM", (cmd & 0x1f) + 2); + return debug(stream, "3DSTATE_PIXEL_SHADER_PROGRAM", (cmd & 0x1ff) + 2); case 0x6: - return debug(stream, "3DSTATE_PIXEL_SHADER_CONSTANTS", (cmd & 0x1f) + 2); + return debug(stream, "3DSTATE_PIXEL_SHADER_CONSTANTS", (cmd & 0xff) + 2); case 0x7: return debug(stream, "3DSTATE_LOAD_INDIRECT", (cmd & 0xff) + 2); case 0x80: |