diff options
-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: |