Browse Source

i915g: actually try to clear 16bit depth bufs

... with the right value.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tags/mesa-8.0-rc1
Daniel Vetter 14 years ago
parent
commit
ce775dc1b6
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/gallium/drivers/i915/i915_clear.c

+ 1
- 1
src/gallium/drivers/i915/i915_clear.c 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;
}
}

Loading…
Cancel
Save