diff options
author | Matt Turner <[email protected]> | 2015-10-22 12:26:27 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-10-22 12:27:04 -0700 |
commit | 1095d837dc5744b65d4e65ee551046d5d884f607 (patch) | |
tree | 63ab85386a16470b8b50ec76f8ab3ee2ad030b0b /src | |
parent | e2707c8765b15b7ac666067160307c7f9d2d8b4d (diff) |
i965/vec4/gs: Fix signed/unsigned comparison warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp index 9402489e628..0b1c2ecd7f0 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp @@ -768,7 +768,7 @@ brw_compile_gs(const struct brw_compiler *compiler, void *log_data, output_size_bytes += 32; assert(output_size_bytes >= 1); - int max_output_size_bytes = GEN7_MAX_GS_URB_ENTRY_SIZE_BYTES; + unsigned max_output_size_bytes = GEN7_MAX_GS_URB_ENTRY_SIZE_BYTES; if (compiler->devinfo->gen == 6) max_output_size_bytes = GEN6_MAX_GS_URB_ENTRY_SIZE_BYTES; if (output_size_bytes > max_output_size_bytes) |