summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir.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.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.c')
-rw-r--r--src/compiler/nir/nir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.c b/src/compiler/nir/nir.c
index 386cdafe161..655dc884382 100644
--- a/src/compiler/nir/nir.c
+++ b/src/compiler/nir/nir.c
@@ -53,6 +53,7 @@ nir_shader_create(void *mem_ctx,
shader->num_inputs = 0;
shader->num_outputs = 0;
shader->num_uniforms = 0;
+ shader->num_shared = 0;
shader->stage = stage;