projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
211b064
)
nir/print: const_index is signed
author
Rob Clark
<robclark@freedesktop.org>
Fri, 15 Jan 2016 23:24:11 +0000
(18:24 -0500)
committer
Rob Clark
<robclark@freedesktop.org>
Sat, 16 Jan 2016 18:35:44 +0000
(13:35 -0500)
Noticed this with $piglit/bin/vp-address-01
Signed-off-by: Rob Clark <robclark@freedesktop.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/glsl/nir/nir_print.c
patch
|
blob
|
history
diff --git
a/src/glsl/nir/nir_print.c
b/src/glsl/nir/nir_print.c
index 80638ed58f2be1bcf122b372b8cf878c1b60c6d0..be9ca4e0f5703a1ad3b9d1bb78480b22c300e885 100644
(file)
--- 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, ")");