mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
anv, blorp: Set COMPUTE_WALKER Message SIMD field
Fixes: d95bbf35 ('anv: Set COMPUTE_WALKER Message SIMD field')
Signed-off-by: Rohan Garg <rohan.garg@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27983>
This commit is contained in:
parent
0de856ecef
commit
731ffa0737
2 changed files with 2 additions and 0 deletions
|
|
@ -1633,6 +1633,7 @@ blorp_exec_compute(struct blorp_batch *batch, const struct blorp_params *params)
|
|||
assert(cs_prog_data->push.per_thread.regs == 0);
|
||||
blorp_emit(batch, GENX(COMPUTE_WALKER), cw) {
|
||||
cw.SIMDSize = dispatch.simd_size / 16;
|
||||
cw.MessageSIMD = dispatch.simd_size / 16,
|
||||
cw.LocalXMaximum = cs_prog_data->local_size[0] - 1;
|
||||
cw.LocalYMaximum = cs_prog_data->local_size[1] - 1;
|
||||
cw.LocalZMaximum = cs_prog_data->local_size[2] - 1;
|
||||
|
|
|
|||
|
|
@ -551,6 +551,7 @@ genX(emit_simple_shader_dispatch)(struct anv_simple_shader *state,
|
|||
#if GFX_VERx10 >= 125
|
||||
anv_batch_emit(batch, GENX(COMPUTE_WALKER), cw) {
|
||||
cw.SIMDSize = dispatch.simd_size / 16;
|
||||
cw.MessageSIMD = dispatch.simd_size / 16,
|
||||
cw.IndirectDataStartAddress = push_state.offset;
|
||||
cw.IndirectDataLength = push_state.alloc_size;
|
||||
cw.LocalXMaximum = prog_data->local_size[0] - 1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue