diff options
author | Rob Clark <[email protected]> | 2018-03-06 08:30:41 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2018-03-31 15:10:56 -0400 |
commit | 4f783838099eec11d38a13dd021d500d812cf410 (patch) | |
tree | e4ae15b51b29fa38d0d6bb34b125e5c98861e263 /src/gallium/drivers/freedreno/ir3/ir3_shader.c | |
parent | 96e7927fb2234bd2358a0da11ca0ce47e3b3c82b (diff) |
freedreno/ir3: add local_group_size
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/ir3/ir3_shader.c')
-rw-r--r-- | src/gallium/drivers/freedreno/ir3/ir3_shader.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_shader.c b/src/gallium/drivers/freedreno/ir3/ir3_shader.c index 555c654374e..8ed7f5673c8 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_shader.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_shader.c @@ -949,7 +949,9 @@ ir3_emit_cs_consts(const struct ir3_shader_variant *v, struct fd_ringbuffer *rin [IR3_DP_NUM_WORK_GROUPS_X] = info->grid[0], [IR3_DP_NUM_WORK_GROUPS_Y] = info->grid[1], [IR3_DP_NUM_WORK_GROUPS_Z] = info->grid[2], - /* do we need work-group-size? */ + [IR3_DP_LOCAL_GROUP_SIZE_X] = info->block[0], + [IR3_DP_LOCAL_GROUP_SIZE_Y] = info->block[1], + [IR3_DP_LOCAL_GROUP_SIZE_Z] = info->block[2], }; ctx->emit_const(ring, SHADER_COMPUTE, offset * 4, 0, |