summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-02-02 13:14:41 +1100
committerTimothy Arceri <[email protected]>2018-02-07 08:43:08 +1100
commitd116af383ffef775ccfc8f2f64b603aebb6b374a (patch)
tree96d5e5939f931f928324b455febbaae8eb6c689e /src/gallium
parentf6932d1ef384784b4c3e269df821672dde545160 (diff)
ac/radeonsi: add load_local_group_size() to the abi
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c
index 808d55b8ce3..bb8cf8f7795 100644
--- a/src/gallium/drivers/radeonsi/si_shader.c
+++ b/src/gallium/drivers/radeonsi/si_shader.c
@@ -5985,6 +5985,7 @@ static bool si_compile_tgsi_main(struct si_shader_context *ctx,
ctx->abi.load_sample_position = load_sample_position;
break;
case PIPE_SHADER_COMPUTE:
+ ctx->abi.load_local_group_size = get_block_size;
break;
default:
assert(!"Unsupported shader type");