From: Marek Olšák Date: Thu, 19 Jan 2017 23:08:35 +0000 (+0100) Subject: radeonsi: don't declare LDS in TES X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d3dd70cab1d60efc70db5e1448c88d125eb6779;p=mesa.git radeonsi: don't declare LDS in TES not used since we started using the offchip tess ring Reviewed-by: Nicolai Hähnle --- diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 10f40a925e4..5ca974e48b4 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -5863,8 +5863,7 @@ static void create_function(struct si_shader_context *ctx) LOCAL_ADDR_SPACE); if ((ctx->type == PIPE_SHADER_VERTEX && shader->key.as_ls) || - ctx->type == PIPE_SHADER_TESS_CTRL || - ctx->type == PIPE_SHADER_TESS_EVAL) + ctx->type == PIPE_SHADER_TESS_CTRL) declare_tess_lds(ctx); }