mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
radv: Fix flush_bits being used uninitialized.
A case of making things worse while trying to fix something minor ...
Fixes: ef79457004 "radv: Merge the flush bits of CMASK & DCC clear."
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
parent
dbac8e25f8
commit
4705a5dfda
1 changed files with 1 additions and 1 deletions
|
|
@ -994,7 +994,7 @@ emit_fast_color_clear(struct radv_cmd_buffer *cmd_buffer,
|
|||
const struct radv_framebuffer *fb = cmd_buffer->state.framebuffer;
|
||||
const struct radv_image_view *iview = fb->attachments[pass_att].attachment;
|
||||
VkClearColorValue clear_value = clear_att->clearValue.color;
|
||||
uint32_t clear_color[2], flush_bits;
|
||||
uint32_t clear_color[2], flush_bits = 0;
|
||||
uint32_t cmask_clear_value;
|
||||
bool ret;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue