Module: Mesa Branch: main Commit: 256e4d7949aed1b3618cf1083cd08ab5013f97ec URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=256e4d7949aed1b3618cf1083cd08ab5013f97ec
Author: Mike Blumenkrantz <[email protected]> Date: Wed Mar 16 09:04:53 2022 -0400 lavapipe: fix typo in set_event execution Fixes: eb7eccc76f0 ("lavapipe: Use generated command queue code") Reviewed-by: Jason Ekstrand <[email protected]> Reviewed-by: Dave Airlie <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15413> --- src/gallium/frontends/lavapipe/lvp_execute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/frontends/lavapipe/lvp_execute.c b/src/gallium/frontends/lavapipe/lvp_execute.c index 6d1aef7b296..a1fa4807fdd 100644 --- a/src/gallium/frontends/lavapipe/lvp_execute.c +++ b/src/gallium/frontends/lavapipe/lvp_execute.c @@ -2978,7 +2978,7 @@ static void handle_event_set(struct vk_cmd_queue_entry *cmd, { LVP_FROM_HANDLE(lvp_event, event, cmd->u.set_event.event); - if (cmd->u.reset_event.stage_mask == VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT) + if (cmd->u.set_event.stage_mask == VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT) state->pctx->flush(state->pctx, NULL, 0); event->event_storage = 1; }
