projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cfd768
)
tgsi: s/unsigned/int/ to silence MSVC warning
author
Brian Paul
<brianp@vmware.com>
Mon, 8 Jul 2013 16:00:54 +0000
(10:00 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 12 Jul 2013 14:19:50 +0000
(08:19 -0600)
src/gallium/auxiliary/tgsi/tgsi_scan.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_scan.c
b/src/gallium/auxiliary/tgsi/tgsi_scan.c
index a47378225662e72ae4bac481033d5d61111e566a..a07df5c49056dd9241a0e50d6f5d92133bb3de53 100644
(file)
--- a/
src/gallium/auxiliary/tgsi/tgsi_scan.c
+++ b/
src/gallium/auxiliary/tgsi/tgsi_scan.c
@@
-285,7
+285,7
@@
tgsi_scan_shader(const struct tgsi_token *tokens,
if (procType == TGSI_PROCESSOR_GEOMETRY) {
unsigned input_primitive = info->properties[i].data[0];
int num_verts = u_vertices_per_prim(input_primitive);
-
unsigned
j;
+
int
j;
info->file_count[TGSI_FILE_INPUT] = num_verts;
info->file_max[TGSI_FILE_INPUT] =
MAX2(info->file_max[TGSI_FILE_INPUT], num_verts - 1);