mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
radv: don't shadow meta_va.
Coverity warned about dead code below, as meta_va was being shadowed. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
795848c232
commit
687d241559
1 changed files with 1 additions and 1 deletions
|
|
@ -223,7 +223,7 @@ si_set_mutable_tex_desc_fields(struct radv_device *device,
|
|||
state[6] &= C_008F28_COMPRESSION_EN;
|
||||
state[7] = 0;
|
||||
if (image->surface.dcc_size && first_level < image->surface.num_dcc_levels) {
|
||||
uint64_t meta_va = gpu_address + image->dcc_offset;
|
||||
meta_va = gpu_address + image->dcc_offset;
|
||||
if (chip_class <= VI)
|
||||
meta_va += base_level_info->dcc_offset;
|
||||
state[6] |= S_008F28_COMPRESSION_EN(1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue