summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2015-10-19 11:28:15 -0700
committerKenneth Graunke <kenneth@whitecape.org>2015-11-04 10:18:56 -0800
commite95ec890105be7bc40d118be556d56f6aa3c229b (patch)
treef98674f9d87f3c0777576378f89784f378043258
parentfd8549994d152461df034ea03c168a37bcb279be (diff)
disable lower outputs to temporariers for tess ctrl outputs
+5 piglits. generated code competence-------------------------- :/
-rw-r--r--src/glsl/nir/nir_lower_outputs_to_temporaries.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/nir/nir_lower_outputs_to_temporaries.c b/src/glsl/nir/nir_lower_outputs_to_temporaries.c
index 1fbf49a038..484a5e6902 100644
--- a/src/glsl/nir/nir_lower_outputs_to_temporaries.c
+++ b/src/glsl/nir/nir_lower_outputs_to_temporaries.c
@@ -146,6 +146,9 @@ nir_lower_outputs_to_temporaries(nir_shader *shader)
{
struct lower_outputs_state state;
+ if (shader->stage == MESA_SHADER_TESS_CTRL)
+ return;
+
state.shader = shader;
exec_list_move_nodes_to(&shader->outputs, &state.old_outputs);