summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-09-08 14:31:11 -0700
committerJason Ekstrand <[email protected]>2015-09-09 12:29:38 -0700
commitb828f7a27b2b8d6b90e646c08dfa25e1d737a9bb (patch)
tree04ef8161a71729b952b8e72d4d35bc33b5c6685d /src/glsl/nir
parent1dbe4af9c9e318525fc082b542b93fb7f1e5efba (diff)
nir/glsl: Use lower_outputs_to_temporaries instead of relying on GLSL IR
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/nir')
-rw-r--r--src/glsl/nir/glsl_to_nir.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/nir/glsl_to_nir.cpp b/src/glsl/nir/glsl_to_nir.cpp
index 0712908eee8..ad7d7dddeaf 100644
--- a/src/glsl/nir/glsl_to_nir.cpp
+++ b/src/glsl/nir/glsl_to_nir.cpp
@@ -138,6 +138,8 @@ glsl_to_nir(struct gl_shader *sh, const nir_shader_compiler_options *options)
v2.run(sh->ir);
visit_exec_list(sh->ir, &v1);
+ nir_lower_outputs_to_temporaries(shader);
+
return shader;
}