mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
llvmpipe: fix copy & paste bug in clear logic
fixes bug 28450.
This commit is contained in:
parent
04490ad31d
commit
26d5d4d995
1 changed files with 1 additions and 1 deletions
|
|
@ -326,7 +326,7 @@ lp_setup_clear( struct lp_setup_context *setup,
|
|||
|
||||
if (flags & PIPE_CLEAR_DEPTHSTENCIL) {
|
||||
if (setup->fb.zsbuf &&
|
||||
((setup->clear.flags & PIPE_CLEAR_DEPTHSTENCIL) != PIPE_CLEAR_DEPTHSTENCIL) &&
|
||||
((flags & PIPE_CLEAR_DEPTHSTENCIL) != PIPE_CLEAR_DEPTHSTENCIL) &&
|
||||
util_format_is_depth_and_stencil(setup->fb.zsbuf->format))
|
||||
full_zs_clear = FALSE;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue