mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-14 14:28:08 +02:00
radeonsi/gfx9: simplify condition for on-chip ESGS
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
239d2b5809
commit
dd07868904
1 changed files with 1 additions and 3 deletions
|
|
@ -4739,9 +4739,7 @@ static void create_function(struct si_shader_context *ctx)
|
||||||
if (shader->key.as_ls ||
|
if (shader->key.as_ls ||
|
||||||
ctx->type == PIPE_SHADER_TESS_CTRL ||
|
ctx->type == PIPE_SHADER_TESS_CTRL ||
|
||||||
/* GFX9 has the ESGS ring buffer in LDS. */
|
/* GFX9 has the ESGS ring buffer in LDS. */
|
||||||
(ctx->screen->b.chip_class >= GFX9 &&
|
type == SI_SHADER_MERGED_VERTEX_OR_TESSEVAL_GEOMETRY)
|
||||||
(shader->key.as_es ||
|
|
||||||
ctx->type == PIPE_SHADER_GEOMETRY)))
|
|
||||||
ac_declare_lds_as_pointer(&ctx->ac);
|
ac_declare_lds_as_pointer(&ctx->ac);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue