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:

committed by
Marge Bot

parent
b07c215c35
commit
04bd007757
@@ -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;
|
||||
|
||||
/* Simulation also complains on Gfx9 if we do not enable commit.
|
||||
*/
|
||||
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) {
|
||||
fence_regs[fence_regs_count++] =
|
||||
|
Reference in New Issue
Block a user