From e0570bc2839afb0d82343974aa1ac250c2f1765c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Wed, 19 Apr 2017 03:36:33 +0200 Subject: [PATCH] radeonsi/gfx9: add VS prolog support for merged ES-GS MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_shader.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 8c4324437ad..9d7ab7bf68b 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -7363,6 +7363,8 @@ static void si_get_vs_prolog_key(const struct tgsi_shader_info *info, if (shader_out->selector->type == PIPE_SHADER_TESS_CTRL) key->vs_prolog.num_merged_next_stage_vgprs = 2; + else if (shader_out->selector->type == PIPE_SHADER_GEOMETRY) + key->vs_prolog.num_merged_next_stage_vgprs = 5; /* Set the instanceID flag. */ for (unsigned i = 0; i < info->num_inputs; i++) -- 2.30.2