summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2019-03-27 11:29:56 -0400
committerRob Clark <[email protected]>2019-03-30 12:55:47 -0400
commite5e67228f558f49ab9457f2f570ff9c46be27c01 (patch)
tree69bba8c52e214cc7d1577685f996dadc53d4b6bb /src
parent72a921e12ac1828998d2a32966e1dd0123eabfdf (diff)
nir: print var name for load_interpolated_input too
Signed-off-by: Rob Clark <[email protected]> Acked-by: Karol Herbst <[email protected]>
Diffstat (limited to 'src')
-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 eeb58e97598..4b530a35600 100644
--- a/src/compiler/nir/nir_print.c
+++ b/src/compiler/nir/nir_print.c
@@ -835,6 +835,7 @@ print_intrinsic_instr(nir_intrinsic_instr *instr, print_state *state)
var_list = &state->shader->uniforms;
break;
case nir_intrinsic_load_input:
+ case nir_intrinsic_load_interpolated_input:
case nir_intrinsic_load_per_vertex_input:
var_list = &state->shader->inputs;
break;