diff options
author | Jordan Justen <[email protected]> | 2018-09-18 13:04:59 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:09 -0800 |
commit | c7cfa4000fcef12ef0e5a2394d8780ae4112a800 (patch) | |
tree | 5a74049f2f82eeee02ce41209a57d5b4bcc69853 /src | |
parent | fd9ccd8b5d0ae10fee4854ad258a7c0bfbac692b (diff) |
iris/compute: Get group counts from grid->grid
Signed-off-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/iris/iris_state.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index a4644f02b61..4c6788b5f06 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -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; } |