mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
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 commit4f093b2e2b)
This commit is contained in:
parent
56f49723c6
commit
07f1560c07
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue