Browse Source

intel/fs: Constify fs_inst::can_do_source_mods().

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
tags/19.0-branchpoint
Francisco Jerez 6 years ago
parent
commit
b94519971a
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      src/intel/compiler/brw_fs.cpp
  2. 1
    1
      src/intel/compiler/brw_ir_fs.h

+ 1
- 1
src/intel/compiler/brw_fs.cpp View File

} }


bool bool
fs_inst::can_do_source_mods(const struct gen_device_info *devinfo)
fs_inst::can_do_source_mods(const struct gen_device_info *devinfo) const
{ {
if (devinfo->gen == 6 && is_math()) if (devinfo->gen == 6 && is_math())
return false; return false;

+ 1
- 1
src/intel/compiler/brw_ir_fs.h View File

bool is_copy_payload(const brw::simple_allocator &grf_alloc) const; bool is_copy_payload(const brw::simple_allocator &grf_alloc) const;
unsigned components_read(unsigned i) const; unsigned components_read(unsigned i) const;
unsigned size_read(int arg) const; unsigned size_read(int arg) const;
bool can_do_source_mods(const struct gen_device_info *devinfo);
bool can_do_source_mods(const struct gen_device_info *devinfo) const;
bool can_do_cmod(); bool can_do_cmod();
bool can_change_types() const; bool can_change_types() const;
bool has_source_and_destination_hazard() const; bool has_source_and_destination_hazard() const;

Loading…
Cancel
Save