vk: Rename functions ALIGN_*32 -> align_*32
ALIGN_U32 and ALIGN_I32 are functions, not macros. So stop using allcaps.
This commit is contained in:
@@ -2710,7 +2710,7 @@ anv_cmd_buffer_alloc_surface_state(struct anv_cmd_buffer *cmd_buffer,
|
||||
{
|
||||
struct anv_state state;
|
||||
|
||||
state.offset = ALIGN_U32(cmd_buffer->surface_next, alignment);
|
||||
state.offset = align_u32(cmd_buffer->surface_next, alignment);
|
||||
if (state.offset + size > cmd_buffer->surface_batch_bo->bo.size)
|
||||
return (struct anv_state) { 0 };
|
||||
|
||||
|
Reference in New Issue
Block a user