mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
intel/fs: require memory fence commit bit on Gfx9
Fixes a hang on Gfx9 GT1 : dEQP-VK.compute.zero_initialize_workgroup_memory.max_workgroup_memory.128 Tested-by: Mark Janes <markjanes@swizzler.org> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15596>
This commit is contained in:
parent
b07c215c35
commit
04bd007757
1 changed files with 4 additions and 1 deletions
|
|
@ -4563,8 +4563,11 @@ fs_visitor::nir_emit_intrinsic(const fs_builder &bld, nir_intrinsic_instr *instr
|
||||||
*/
|
*/
|
||||||
const bool render_fence = tgm_fence && devinfo->verx10 == 70;
|
const bool render_fence = tgm_fence && devinfo->verx10 == 70;
|
||||||
|
|
||||||
|
/* Simulation also complains on Gfx9 if we do not enable commit.
|
||||||
|
*/
|
||||||
const bool commit_enable = render_fence ||
|
const bool commit_enable = render_fence ||
|
||||||
instr->intrinsic == nir_intrinsic_end_invocation_interlock;
|
instr->intrinsic == nir_intrinsic_end_invocation_interlock ||
|
||||||
|
devinfo->ver == 9;
|
||||||
|
|
||||||
if (tgm_fence || ugm_fence || slm_fence || urb_fence) {
|
if (tgm_fence || ugm_fence || slm_fence || urb_fence) {
|
||||||
fence_regs[fence_regs_count++] =
|
fence_regs[fence_regs_count++] =
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue