diff options
author | Marek Olšák <[email protected]> | 2016-12-21 15:16:54 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-01-06 21:05:48 +0100 |
commit | 4b93ba542cdfd6092d84a64e2d2f2bb7c58ec446 (patch) | |
tree | 725b5497ba1431e9cf637786e0225276cae56fce /src/gallium | |
parent | 53648050a5cac333d6f9613148ae9d615594b4d8 (diff) |
radeonsi: assume that a TES without POSITION precedes GS
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state_shaders.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c index ce0ed31055e..a3606723281 100644 --- 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; } |