diff options
author | Marek Olšák <[email protected]> | 2017-04-19 03:36:33 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-04-28 21:47:35 +0200 |
commit | e0570bc2839afb0d82343974aa1ac250c2f1765c (patch) | |
tree | 8aa77b36f231677c617b14e25bd4719ee4c06d09 /src/gallium/drivers/radeonsi | |
parent | 6b93452b24593662e929b534612171d18feb0669 (diff) |
radeonsi/gfx9: add VS prolog support for merged ES-GS
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 2 |
1 files changed, 2 insertions, 0 deletions
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++) |