mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-27 09:50:20 +01:00
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:
parent
661b7ef9a8
commit
ce775dc1b6
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue