aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/nir
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/nir')
-rw-r--r--src/glsl/nir/nir_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/nir/nir_print.c b/src/glsl/nir/nir_print.c
index 80638ed58f2..be9ca4e0f57 100644
--- a/src/glsl/nir/nir_print.c
+++ b/src/glsl/nir/nir_print.c
@@ -480,7 +480,7 @@ print_intrinsic_instr(nir_intrinsic_instr *instr, print_state *state)
if (i != 0)
fprintf(fp, ", ");
- fprintf(fp, "%u", instr->const_index[i]);
+ fprintf(fp, "%d", instr->const_index[i]);
}
fprintf(fp, ")");