mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 10:08:08 +02:00
anv/gen8: Setup state to enable barrier() function
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
4c7f4c25d0
commit
36a2304686
1 changed files with 3 additions and 1 deletions
|
|
@ -544,7 +544,9 @@ flush_compute_descriptor_set(struct anv_cmd_buffer *cmd_buffer)
|
|||
.SamplerCount = 0,
|
||||
.ConstantIndirectURBEntryReadLength = push_constant_regs,
|
||||
.ConstantURBEntryReadOffset = 0,
|
||||
.NumberofThreadsinGPGPUThreadGroup = 0);
|
||||
.BarrierEnable = cs_prog_data->uses_barrier,
|
||||
.NumberofThreadsinGPGPUThreadGroup =
|
||||
pipeline->cs_thread_width_max);
|
||||
|
||||
uint32_t size = GENX(INTERFACE_DESCRIPTOR_DATA_length) * sizeof(uint32_t);
|
||||
anv_batch_emit(&cmd_buffer->batch, GENX(MEDIA_INTERFACE_DESCRIPTOR_LOAD),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue