intel/compiler: Mark virtual_grf_interferes and vars_interfere as const
Reviewed-by: Matt Turner <mattst88@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4012>
This commit is contained in:

committed by
Matt Turner

parent
ab6d792986
commit
3ceb496cdf
@@ -81,7 +81,7 @@ public:
|
||||
fs_live_variables(fs_visitor *v, const cfg_t *cfg);
|
||||
~fs_live_variables();
|
||||
|
||||
bool vars_interfere(int a, int b);
|
||||
bool vars_interfere(int a, int b) const;
|
||||
int var_from_reg(const fs_reg ®) const
|
||||
{
|
||||
return var_from_vgrf[reg.nr] + reg.offset / REG_SIZE;
|
||||
|
Reference in New Issue
Block a user