diff options
author | Nicolai Hähnle <[email protected]> | 2017-11-16 17:23:43 +0100 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-11-28 09:34:43 +0100 |
commit | dd078689041077eb9d90888a3cb0166fdc093b93 (patch) | |
tree | 62ca18b2f95f65f4776aacbc8f796fee61c06c38 /src/gallium/drivers/radeonsi | |
parent | 239d2b5809ccfd207a7c3f3a98c1620ec40e1e1c (diff) |
radeonsi/gfx9: simplify condition for on-chip ESGS
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index a997ab01039..fc4bab8c9cf 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -4739,9 +4739,7 @@ static void create_function(struct si_shader_context *ctx) if (shader->key.as_ls || ctx->type == PIPE_SHADER_TESS_CTRL || /* GFX9 has the ESGS ring buffer in LDS. */ - (ctx->screen->b.chip_class >= GFX9 && - (shader->key.as_es || - ctx->type == PIPE_SHADER_GEOMETRY))) + type == SI_SHADER_MERGED_VERTEX_OR_TESSEVAL_GEOMETRY) ac_declare_lds_as_pointer(&ctx->ac); } |