OSDN Git Service

radv: clean up radv_vi_dcc_enabled()
[android-x86/external-mesa.git] / src / amd / vulkan / radv_image.c
index 56b9ba1..1a8352f 100644 (file)
@@ -294,7 +294,7 @@ si_set_mutable_tex_desc_fields(struct radv_device *device,
        if (chip_class >= VI) {
                state[6] &= C_008F28_COMPRESSION_EN;
                state[7] = 0;
-               if (!is_storage_image && radv_vi_dcc_enabled(image, first_level)) {
+               if (!is_storage_image && radv_dcc_enabled(image, first_level)) {
                        meta_va = gpu_address + image->dcc_offset;
                        if (chip_class <= VI)
                                meta_va += base_level_info->dcc_offset;