mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 01:50:10 +01:00
util: Do not use align64 over unsigned int in register_allocate.c
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23732>
This commit is contained in:
parent
4d7c969dd8
commit
b7a0d34f89
1 changed files with 1 additions and 1 deletions
|
|
@ -544,7 +544,7 @@ ra_realloc_interference_graph(struct ra_graph *g, unsigned int alloc)
|
|||
* easier to memset the top of the growing bitsets.
|
||||
*/
|
||||
assert(g->alloc % BITSET_WORDBITS == 0);
|
||||
alloc = align64(alloc, BITSET_WORDBITS);
|
||||
alloc = align(alloc, BITSET_WORDBITS);
|
||||
g->nodes = rerzalloc(g, g->nodes, struct ra_node, g->alloc, alloc);
|
||||
g->adjacency = rerzalloc(g, g->adjacency, BITSET_WORD,
|
||||
BITSET_WORDS(ra_get_num_adjacency_bits(g->alloc)),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue