anv: migrate anv_minify to use u_minify

Signed-off-by: Rohan Garg <rohan.garg@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20104>
This commit is contained in:
Rohan Garg 2022-12-02 14:56:59 +05:30 committed by Marge Bot
parent 4504188508
commit 9257b08f49

View file

@ -335,7 +335,7 @@ anv_minify(uint32_t n, uint32_t levels)
if (unlikely(n == 0))
return 0;
else
return MAX2(n >> levels, 1);
return u_minify(n, levels);
}
static inline union isl_color_value