diff --git a/src/intel/compiler/brw/brw_compile_mesh.cpp b/src/intel/compiler/brw/brw_compile_mesh.cpp index 7e5ff696bea..cf885f68e4e 100644 --- a/src/intel/compiler/brw/brw_compile_mesh.cpp +++ b/src/intel/compiler/brw/brw_compile_mesh.cpp @@ -1050,6 +1050,8 @@ brw_compile_mesh(const struct brw_compiler *compiler, .per_primitive_byte_offsets = prog_data->map.per_primitive_offsets, }; NIR_PASS(_, nir, brw_nir_lower_outputs_to_urb_intrinsics, &cb_data); + struct nir_opt_offsets_options offset_options = {}; + NIR_PASS(_, nir, nir_opt_offsets, &offset_options); brw_simd_selection_state simd_state{ .devinfo = compiler->devinfo,