mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-17 17:50:29 +01:00
i915g: fix bug in ds clear logic (still disabled)
This commit is contained in:
parent
c00065e5c2
commit
b6cd0712e9
1 changed files with 2 additions and 2 deletions
|
|
@ -143,8 +143,8 @@ i915_clear_depth_stencil(struct pipe_context *pipe,
|
|||
/* XXX presumably this does read-modify-write
|
||||
(otherwise this won't work anyway). Hence will only want to
|
||||
do it if really have stencil and it isn't cleared */
|
||||
if (!((clear_flags & PIPE_CLEAR_STENCIL) ||
|
||||
(dst->format != PIPE_FORMAT_Z24_UNORM_S8_USCALED)))
|
||||
if ((clear_flags & PIPE_CLEAR_STENCIL) ||
|
||||
(dst->format != PIPE_FORMAT_Z24_UNORM_S8_USCALED))
|
||||
mask |= XY_COLOR_BLT_WRITE_ALPHA;
|
||||
|
||||
i915_fill_blit( i915_context(pipe),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue