mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
brw: Call nir_opt_offsets for mesh shaders
Most stages call this as part of brw_nir_postprocess_opts() but mesh lowers to URB intrinsics after that since it needs bit-sizes lowered. Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38918>
This commit is contained in:
parent
88d46605bd
commit
26523bedec
1 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue