소스 검색

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

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
tags/19.0-branchpoint
Francisco Jerez 6 년 전
부모
커밋
b94519971a
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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 파일 보기

@@ -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 파일 보기

@@ -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…
취소
저장