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>
This commit is contained in:
Lionel Landwerlin
2024-07-19 17:51:15 +03:00
committed by Marge Bot
parent 0bd96e868c
commit 4f093b2e2b

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
}
}