mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 13:00:09 +01:00
iris/compute: Get group counts from grid->grid
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
fd9ccd8b5d
commit
c7cfa4000f
1 changed files with 3 additions and 3 deletions
|
|
@ -4355,9 +4355,9 @@ iris_upload_compute_state(struct iris_context *ice,
|
|||
ggw.ThreadDepthCounterMaximum = 0;
|
||||
ggw.ThreadHeightCounterMaximum = 0;
|
||||
ggw.ThreadWidthCounterMaximum = cs_prog_data->threads - 1;
|
||||
ggw.ThreadGroupIDXDimension = grid->block[0];
|
||||
ggw.ThreadGroupIDYDimension = grid->block[1];
|
||||
ggw.ThreadGroupIDZDimension = grid->block[2];
|
||||
ggw.ThreadGroupIDXDimension = grid->grid[0];
|
||||
ggw.ThreadGroupIDYDimension = grid->grid[1];
|
||||
ggw.ThreadGroupIDZDimension = grid->grid[2];
|
||||
ggw.RightExecutionMask = right_mask;
|
||||
ggw.BottomExecutionMask = 0xffffffff;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue