i915g: actually try to clear 16bit depth bufs

... with the right value.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter 2011-09-25 18:35:12 +02:00
parent 661b7ef9a8
commit ce775dc1b6

View file

@ -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;
}
}