Mesa (staging/22.0): lavapipe: fix typo in set_event execution
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Apr 14 21:33:37 UTC 2022
Module: Mesa
Branch: staging/22.0
Commit: 0f1f01a843079608e89723658badd192ff30ebe8
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f1f01a843079608e89723658badd192ff30ebe8
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
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 <jason.ekstrand at collabora.com>
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15413>
(cherry picked from commit 256e4d7949aed1b3618cf1083cd08ab5013f97ec)
---
.pick_status.json | 2 +-
src/gallium/frontends/lavapipe/lvp_execute.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.pick_status.json b/.pick_status.json
index ba2f27b0f4b..b0e6faf6e57 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -8340,7 +8340,7 @@
"description": "lavapipe: fix typo in set_event execution",
"nominated": true,
"nomination_type": 1,
- "resolution": 5,
+ "resolution": 1,
"because_sha": "eb7eccc76f0a02b3a3291adaa39788b157979dc5"
},
{
diff --git a/src/gallium/frontends/lavapipe/lvp_execute.c b/src/gallium/frontends/lavapipe/lvp_execute.c
index 14c26d9cb7f..6158beb2eff 100644
--- a/src/gallium/frontends/lavapipe/lvp_execute.c
+++ b/src/gallium/frontends/lavapipe/lvp_execute.c
@@ -2856,7 +2856,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;
}
More information about the mesa-commit
mailing list