diff options
author | Francisco Jerez <[email protected]> | 2018-11-09 14:13:37 -0800 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2019-10-11 12:24:16 -0700 |
commit | b2ae65c7d93bb95dc8dbd14b61e58d60cfcee932 (patch) | |
tree | 44bb2b91536d45335250c43230a755f8ab4c7f15 /src | |
parent | 6f275a863dd5a4babc9ee9de792c401c0eb7cb0d (diff) |
intel/fs: Fix constness of implied_mrf_writes() argument.
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/compiler/brw_fs.cpp | 2 | ||||
-rw-r--r-- | src/intel/compiler/brw_fs.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp index ebe3ee89816..30a95b419f0 100644 --- a/src/intel/compiler/brw_fs.cpp +++ b/src/intel/compiler/brw_fs.cpp @@ -1148,7 +1148,7 @@ fs_inst::flags_written() const * instruction -- the FS opcodes often generate MOVs in addition. */ int -fs_visitor::implied_mrf_writes(fs_inst *inst) const +fs_visitor::implied_mrf_writes(const fs_inst *inst) const { if (inst->mlen == 0) return 0; diff --git a/src/intel/compiler/brw_fs.h b/src/intel/compiler/brw_fs.h index 0701c274adc..4d5cdd0c013 100644 --- a/src/intel/compiler/brw_fs.h +++ b/src/intel/compiler/brw_fs.h @@ -299,7 +299,7 @@ public: fs_reg interp_reg(int location, int channel); - int implied_mrf_writes(fs_inst *inst) const; + int implied_mrf_writes(const fs_inst *inst) const; virtual void dump_instructions(); virtual void dump_instructions(const char *name); |