i965/fs: Fix signedness of the return value of fs_inst::size_read().

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
This commit is contained in:
Francisco Jerez 2016-09-07 17:00:58 -07:00
parent a384503c15
commit bae3a41171
2 changed files with 2 additions and 2 deletions

View file

@ -811,7 +811,7 @@ fs_inst::components_read(unsigned i) const
}
}
int
unsigned
fs_inst::size_read(int arg) const
{
switch (opcode) {

View file

@ -338,7 +338,7 @@ public:
bool is_partial_write() const;
bool is_copy_payload(const brw::simple_allocator &grf_alloc) const;
unsigned components_read(unsigned i) const;
int size_read(int arg) const;
unsigned size_read(int arg) const;
bool can_do_source_mods(const struct gen_device_info *devinfo);
bool can_change_types() const;
bool has_side_effects() const;