mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 12:50:10 +01:00
radv: simplify a check in emit_fast_color_clear()
Currently only true if RADV_PERFTEST=dccmsaa is set. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
eca931a726
commit
f78ee19702
1 changed files with 1 additions and 3 deletions
|
|
@ -1483,9 +1483,7 @@ emit_fast_color_clear(struct radv_cmd_buffer *cmd_buffer,
|
|||
&clear_value, &reset_value,
|
||||
&can_avoid_fast_clear_elim);
|
||||
|
||||
if (iview->image->info.samples > 1) {
|
||||
assert(radv_image_has_cmask(iview->image));
|
||||
|
||||
if (radv_image_has_cmask(iview->image)) {
|
||||
flush_bits = radv_clear_cmask(cmd_buffer, iview->image,
|
||||
cmask_clear_value);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue