projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5364805
)
radeonsi: assume that a TES without POSITION precedes GS
author
Marek Olšák
<marek.olsak@amd.com>
Wed, 21 Dec 2016 14:16:54 +0000
(15:16 +0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Fri, 6 Jan 2017 20:05:48 +0000
(21:05 +0100)
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_state_shaders.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_state_shaders.c
b/src/gallium/drivers/radeonsi/si_state_shaders.c
index ce0ed31055e019b62e929a5c6aa08264e968bc9d..a360672328190772c1275dc45b1539989fd27de5 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_state_shaders.c
+++ b/
src/gallium/drivers/radeonsi/si_state_shaders.c
@@
-1275,7
+1275,8
@@
static void si_parse_next_shader_property(const struct tgsi_shader_info *info,
break;
case PIPE_SHADER_TESS_EVAL:
- if (next_shader == PIPE_SHADER_GEOMETRY)
+ if (next_shader == PIPE_SHADER_GEOMETRY ||
+ !info->writes_position)
key->as_es = 1;
break;
}