brw_fs_visitor.cpp: In member function 'void fs_visitor::emit_urb_writes()':
brw_fs_visitor.cpp:977:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
sources[length++] = reg;
}
} else {
- for (int i = 0; i < output_components[varying]; i++)
+ for (unsigned i = 0; i < output_components[varying]; i++)
sources[length++] = offset(this->outputs[varying], bld, i);
- for (int i = output_components[varying]; i < 4; i++)
+ for (unsigned i = output_components[varying]; i < 4; i++)
sources[length++] = fs_reg(0);
}
break;