anv: add missing MEDIA_STATE_FLUSH for internal shaders

Replicating what we do in genX_cmd_compute.c

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 7ca5c84804 ("anv: add support for simple internal compute shaders")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30539>
(cherry picked from commit 4f093b2e2b)
This commit is contained in:
Lionel Landwerlin 2024-07-19 17:51:15 +03:00 committed by Eric Engestrom
parent 56f49723c6
commit 07f1560c07
2 changed files with 2 additions and 1 deletions

View file

@ -84,7 +84,7 @@
"description": "anv: add missing MEDIA_STATE_FLUSH for internal shaders",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "7ca5c84804fa33b26a0b4c3cb8ea2a8f66d46315",
"notes": null

View file

@ -695,6 +695,7 @@ genX(emit_simple_shader_dispatch)(struct anv_simple_shader *state,
ggw.RightExecutionMask = dispatch.right_mask;
ggw.BottomExecutionMask = 0xffffffff;
}
anv_batch_emit(batch, GENX(MEDIA_STATE_FLUSH), msf);
#endif
}
}