summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_fs.cpp
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2018-11-09 14:13:37 -0800
committerFrancisco Jerez <[email protected]>2019-10-11 12:24:16 -0700
commitb2ae65c7d93bb95dc8dbd14b61e58d60cfcee932 (patch)
tree44bb2b91536d45335250c43230a755f8ab4c7f15 /src/intel/compiler/brw_fs.cpp
parent6f275a863dd5a4babc9ee9de792c401c0eb7cb0d (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/intel/compiler/brw_fs.cpp')
-rw-r--r--src/intel/compiler/brw_fs.cpp2
1 files changed, 1 insertions, 1 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;