projects
/
platform
/
upstream
/
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
80638ed
..
be9ca4e
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, ")");