mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-19 14:40:30 +01:00
iris: xe2 doesn't have INTERFACE_DESCRIPTOR_DATA::BarrierEnable
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26390>
This commit is contained in:
parent
ef1c1ca821
commit
16483cd4bc
1 changed files with 2 additions and 0 deletions
|
|
@ -5172,7 +5172,9 @@ iris_store_cs_state(const struct intel_device_info *devinfo,
|
|||
assert(cs_prog_data->push.per_thread.regs == 0);
|
||||
assert(cs_prog_data->push.cross_thread.regs == 0);
|
||||
#endif
|
||||
#if GFX_VERx10 <= 125
|
||||
desc.BarrierEnable = cs_prog_data->uses_barrier;
|
||||
#endif
|
||||
/* Typically set to 0 to avoid prefetching on every thread dispatch. */
|
||||
desc.BindingTableEntryCount = devinfo->verx10 == 125 ?
|
||||
0 : MIN2(shader->bt.size_bytes / 4, 31);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue