projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b93452
)
radeonsi/gfx9: add VS prolog support for merged ES-GS
author
Marek Olšák
<marek.olsak@amd.com>
Wed, 19 Apr 2017 01:36:33 +0000
(
03:36
+0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Fri, 28 Apr 2017 19:47:35 +0000
(21:47 +0200)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_shader.c
b/src/gallium/drivers/radeonsi/si_shader.c
index 8c4324437ad0dc0150ba614bf36bbf7ecb851f75..9d7ab7bf68b1f1b77a3da06b6c6fa694c49cd41a 100644
(file)
--- 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++)