mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 18:08:40 +02:00
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:
parent
4504188508
commit
9257b08f49
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue