diff options
Diffstat (limited to 'src/gallium/drivers/i915/i915_clear.c')
-rw-r--r-- | src/gallium/drivers/i915/i915_clear.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_clear.c b/src/gallium/drivers/i915/i915_clear.c index bb8ff91767a..8e2541d51d6 100644 --- a/src/gallium/drivers/i915/i915_clear.c +++ b/src/gallium/drivers/i915/i915_clear.c @@ -102,7 +102,7 @@ i915_clear_emit(struct pipe_context *pipe, unsigned buffers, depth_clear_bbp = 32; } else { - clear_depth = (clear_depth & 0xffff) | (clear_depth << 16); + clear_depth = (packed_z_stencil & 0xffff) | (packed_z_stencil << 16); depth_clear_bbp = 16; } } |