mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 09:20:13 +01:00
intel/fs: Fix constness of implied_mrf_writes() argument.
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
6f275a863d
commit
b2ae65c7d9
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue