Kaynağa Gözat

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

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
tags/19.0-branchpoint
Francisco Jerez 6 yıl önce
ebeveyn
işleme
b94519971a

+ 1
- 1
src/intel/compiler/brw_fs.cpp Dosyayı Görüntüle

@@ -399,7 +399,7 @@ fs_inst::is_copy_payload(const brw::simple_allocator &grf_alloc) const
}

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())
return false;

+ 1
- 1
src/intel/compiler/brw_ir_fs.h Dosyayı Görüntüle

@@ -353,7 +353,7 @@ public:
bool is_copy_payload(const brw::simple_allocator &grf_alloc) const;
unsigned components_read(unsigned i) 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_change_types() const;
bool has_source_and_destination_hazard() const;

Loading…
İptal
Kaydet