projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cebdd7
)
spirv: lower outputs to temporaries
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Sat, 29 Aug 2015 00:21:19 +0000
(17:21 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Sat, 29 Aug 2015 00:38:41 +0000
(17:38 -0700)
src/glsl/nir/spirv_to_nir.c
patch
|
blob
|
history
diff --git
a/src/glsl/nir/spirv_to_nir.c
b/src/glsl/nir/spirv_to_nir.c
index ffaebf10502fff1066dee59ef2baf222a5da170e..612d2fff29311740c9ddc44aa0fc847f0864e450 100644
(file)
--- a/
src/glsl/nir/spirv_to_nir.c
+++ b/
src/glsl/nir/spirv_to_nir.c
@@
-2973,6
+2973,11
@@
spirv_to_nir(const uint32_t *words, size_t word_count,
vtn_handle_phi_second_pass);
}
+ /* Because we can still have output reads in NIR, we need to lower
+ * outputs to temporaries before we are truely finished.
+ */
+ nir_lower_outputs_to_temporaries(shader);
+
ralloc_free(b);
return shader;