intel/compiler: Prevent warnings in the following patch
The next patch replaces an unsigned bitfield with a plain unsigned, which triggers gcc to begin warning on signed/unsigned comparisons. Keeping this patch separate from the actual move allows bisectablity and generates no additional warnings temporarily. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
@@ -1337,8 +1337,8 @@ vec4_visitor::emit_urb_slot(dst_reg reg, int varying)
|
||||
}
|
||||
}
|
||||
|
||||
static int
|
||||
align_interleaved_urb_mlen(const struct gen_device_info *devinfo, int mlen)
|
||||
static unsigned
|
||||
align_interleaved_urb_mlen(const struct gen_device_info *devinfo, unsigned mlen)
|
||||
{
|
||||
if (devinfo->gen >= 6) {
|
||||
/* URB data written (does not include the message header reg) must
|
||||
|
Reference in New Issue
Block a user