mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-24 12:30:19 +01:00
i965/fs: Fix comparison between signed and unsigned integer expressions
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>
This commit is contained in:
parent
afa1efdc85
commit
f7ca52dd6d
1 changed files with 2 additions and 2 deletions
|
|
@ -974,9 +974,9 @@ fs_visitor::emit_urb_writes()
|
|||
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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue