hk: fix todo

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36633>
This commit is contained in:
Alyssa Rosenzweig
2025-08-02 19:51:56 -04:00
committed by Marge Bot
parent 1ef97241d7
commit e9bf1c59ed
+6 -1
View File
@@ -143,7 +143,12 @@ hk_reset_cmd_buffer(struct vk_command_buffer *vk_cmd_buffer,
cmd->current_cs.post_gfx = NULL;
cmd->current_cs.pre_gfx = NULL;
/* TODO: clear pool! */
assert(!cmd->in_meta);
cmd->geom_indirect = 0;
cmd->geom_index_buffer = 0;
cmd->geom_index_count = 0;
cmd->geom_instance_count = 0;
cmd->uses_heap = false;
memset(&cmd->state, 0, sizeof(cmd->state));
}