diff options
author | Jason Ekstrand <[email protected]> | 2014-11-19 12:59:57 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-01-15 07:19:02 -0800 |
commit | 4f8230e247a222314ab124e348482628adb5af32 (patch) | |
tree | 2a4b28ad3bae5f44eb9586fe0811acd8ebc69bf9 /src/glsl/nir/nir_print.c | |
parent | b5143edaeeb6f57558f5bb6fbd7f7cc39ad7489d (diff) |
nir: Add a concept of a wildcard array dereference
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir_print.c')
-rw-r--r-- | src/glsl/nir/nir_print.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/nir/nir_print.c b/src/glsl/nir/nir_print.c index 0156582c20c..ec60981b548 100644 --- a/src/glsl/nir/nir_print.c +++ b/src/glsl/nir/nir_print.c @@ -274,6 +274,9 @@ print_deref_array(nir_deref_array *deref, print_var_state *state, FILE *fp) fprintf(fp, "%u + ", deref->base_offset); print_src(&deref->indirect, fp); break; + case nir_deref_array_type_wildcard: + fprintf(fp, "*"); + break; } fprintf(fp, "]"); } |