projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d89c668
)
i965: silence signed/unsigned comparison warning
author
Brian Paul
<brianp@vmware.com>
Sat, 15 Oct 2011 22:36:11 +0000
(16:36 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 19 Oct 2011 19:54:42 +0000
(13:54 -0600)
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
index e003020686347a201551daf5e22c6aacf3238923..0ea6d317e097a169397dcf1b993f2f079da6d120 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
@@
-1549,7
+1549,8
@@
vec4_visitor::try_rewrite_rhs_to_dst(ir_assignment *ir,
* potentially reswizzle the operands of many instructions so that
* we could handle out of order channels, but don't yet.
*/
- for (int i = 0; i < 4; i++) {
+
+ for (unsigned i = 0; i < 4; i++) {
if (dst.writemask & (1 << i)) {
if (!(last_rhs_inst->dst.writemask & (1 << i)))
return false;