radv: remove useless check about the FCE predicate offset

radv_update_fce_metadata() already prevents that.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12323>
This commit is contained in:
Samuel Pitoiset
2021-08-13 10:38:36 +02:00
committed by Marge Bot
parent dc58b0112f
commit ef546cf96f
+4 -6
View File
@@ -742,12 +742,10 @@ radv_process_color_image(struct radv_cmd_buffer *cmd_buffer, struct radv_image *
radv_meta_restore(&saved_state, cmd_buffer);
if (image->fce_pred_offset != 0) {
/* Clear the image's fast-clear eliminate predicate because FMASK_DECOMPRESS and
* DCC_DECOMPRESS also perform a fast-clear eliminate.
*/
radv_update_fce_metadata(cmd_buffer, image, subresourceRange, false);
}
/* Clear the image's fast-clear eliminate predicate because FMASK_DECOMPRESS and DCC_DECOMPRESS
* also perform a fast-clear eliminate.
*/
radv_update_fce_metadata(cmd_buffer, image, subresourceRange, false);
/* Mark the image as being decompressed. */
if (op == DCC_DECOMPRESS)