radv: remove redundant check when enabling TC-compat CMASK
We already check that the image has CMASK. 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/9415>
This commit is contained in:
committed by
Marge Bot
parent
d173ed2e9c
commit
0c281283d8
@@ -284,9 +284,6 @@ radv_use_tc_compat_cmask_for_image(struct radv_device *device,
|
||||
if (radv_image_has_dcc(image))
|
||||
return false;
|
||||
|
||||
if (!radv_image_has_cmask(image))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user