From c7cfa4000fcef12ef0e5a2394d8780ae4112a800 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Tue, 18 Sep 2018 13:04:59 -0700 Subject: [PATCH] iris/compute: Get group counts from grid->grid Signed-off-by: Jordan Justen --- src/gallium/drivers/iris/iris_state.c | 6 +++--- 1 file 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; } -- 2.30.2