tgsi: s/unsigned/int/ to silence MSVC warning
This commit is contained in:
parent
2cfd768473
commit
c45d8f2e98
|
@ -285,7 +285,7 @@ tgsi_scan_shader(const struct tgsi_token *tokens,
|
||||||
if (procType == TGSI_PROCESSOR_GEOMETRY) {
|
if (procType == TGSI_PROCESSOR_GEOMETRY) {
|
||||||
unsigned input_primitive = info->properties[i].data[0];
|
unsigned input_primitive = info->properties[i].data[0];
|
||||||
int num_verts = u_vertices_per_prim(input_primitive);
|
int num_verts = u_vertices_per_prim(input_primitive);
|
||||||
unsigned j;
|
int j;
|
||||||
info->file_count[TGSI_FILE_INPUT] = num_verts;
|
info->file_count[TGSI_FILE_INPUT] = num_verts;
|
||||||
info->file_max[TGSI_FILE_INPUT] =
|
info->file_max[TGSI_FILE_INPUT] =
|
||||||
MAX2(info->file_max[TGSI_FILE_INPUT], num_verts - 1);
|
MAX2(info->file_max[TGSI_FILE_INPUT], num_verts - 1);
|
||||||
|
|
Loading…
Reference in New Issue