diff options
author | Jason Ekstrand <jason@jlekstrand.net> | 2020-03-05 17:17:40 -0600 |
---|---|---|
committer | Eric Engestrom <eric@engestrom.ch> | 2020-03-06 22:59:46 +0100 |
commit | ee7a114d189416ca23c70937469d20b186346910 (patch) | |
tree | c362e980fedef5eeb51f072923325413d3352e3f /meson_options.txt | |
parent | cecfe9b844f8f6ee6f4e26f41aad32f36d8e083f (diff) | |
download | mesa-ee7a114d189416ca23c70937469d20b186346910.tar.gz |
iris: Don't skip fast depth clears if the color changed
We depend on BLORP to convert the clear color and write it into the
clear color buffer for us. However, we weren't bothering to call blorp
in the case where the state is ISL_AUX_STATE_CLEAR. This leads to the
clear color not getting properly updated if we have back-to-back clears
with different clear colors. Technically, we could go out of our way to
set the clear color directly from iris in this case but this is a case
we're unlikely to see in the wild so let's not bother. This matches
what we already do for color surfaces.
Cc: mesa-stable@lists.freedesktop.org
Reported-by: Mark Janes <mark.a.janes@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4073>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4073>
(cherry picked from commit 9d07d598423e4015bbc7beb7a2fdc4c657d5e0cf)
Diffstat (limited to 'meson_options.txt')
0 files changed, 0 insertions, 0 deletions