util: use uint32_t as the parameter of align function
authorYonggang Luo <luoyonggang@gmail.com>
Sun, 4 Jun 2023 06:42:51 +0000 (14:42 +0800)
committerMarge Bot <emma+marge@anholt.net>
Thu, 8 Jun 2023 06:41:21 +0000 (06:41 +0000)
commit586391720b31e9589e55c7849c64326a0e2d9208
treeffb6733bbad32feb75f9b99f21e7b91b87f99c05
parent9ce8ff9bb1eca0a354583474a2168415ca9ba7c4
util: use uint32_t as the parameter of align function

align on negative value doesn't make sense

Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23421>
src/amd/compiler/aco_instruction_selection.cpp
src/util/u_math.h