summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_print.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_print.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_print.c')
-rw-r--r--src/compiler/nir/nir_print.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_print.c b/src/compiler/nir/nir_print.c
index 644a21463b1..b8943b83f46 100644
--- a/src/compiler/nir/nir_print.c
+++ b/src/compiler/nir/nir_print.c
@@ -1057,6 +1057,7 @@ nir_print_shader(nir_shader *shader, FILE *fp)
fprintf(fp, "inputs: %u\n", shader->num_inputs);
fprintf(fp, "outputs: %u\n", shader->num_outputs);
fprintf(fp, "uniforms: %u\n", shader->num_uniforms);
+ fprintf(fp, "shared: %u\n", shader->num_shared);
nir_foreach_variable(var, &shader->uniforms) {
print_var_decl(var, &state);