aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_clone.c
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2016-01-18 09:44:31 -0800
committerJordan Justen <[email protected]>2016-03-17 01:23:40 -0700
commite3cbb9d37ce4e3efafce834deef3ce814c3777ce (patch)
treed7ec5d48db20092481bb15d3769f67ec2ea6d90f /src/compiler/nir/nir_clone.c
parent683c359c543f4152150fcc52c7a75b9f6a71d1e4 (diff)
nir: Add support for lowering load/stores of shared variables
Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_clone.c')
-rw-r--r--src/compiler/nir/nir_clone.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_clone.c b/src/compiler/nir/nir_clone.c
index d17d384ed61..0b426e940b4 100644
--- a/src/compiler/nir/nir_clone.c
+++ b/src/compiler/nir/nir_clone.c
@@ -705,6 +705,7 @@ nir_shader_clone(void *mem_ctx, const nir_shader *s)
ns->num_inputs = s->num_inputs;
ns->num_uniforms = s->num_uniforms;
ns->num_outputs = s->num_outputs;
+ ns->num_shared = s->num_shared;
free_clone_state(&state);