radv: stop checking the return value of ac_get_cb_number_type()
It can't be ~0U. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29291>
This commit is contained in:

committed by
Marge Bot

parent
e227f2cc72
commit
8f39e3a0f3
@@ -456,7 +456,7 @@ radv_is_colorbuffer_format_supported(const struct radv_physical_device *pdev, Vk
|
||||
} else
|
||||
*blendable = true;
|
||||
|
||||
return color_format != V_028C70_COLOR_INVALID && color_swap != ~0U && color_num_format != ~0;
|
||||
return color_format != V_028C70_COLOR_INVALID && color_swap != ~0U;
|
||||
}
|
||||
|
||||
static bool
|
||||
|
Reference in New Issue
Block a user