mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-25 23:10:23 +01:00
nir/nir_opt_move: fix ALWAYS_INLINE compiler error
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Closes: #6825
Fixes: f1d20ec6 ("nir/nir_opt_move: handle non-SSA defs ")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17439>
This commit is contained in:
parent
5b3fb44ecc
commit
267dd1f4d5
1 changed files with 2 additions and 2 deletions
|
|
@ -51,13 +51,13 @@
|
|||
* lower register pressure.
|
||||
*/
|
||||
|
||||
static ALWAYS_INLINE bool
|
||||
static inline bool
|
||||
src_is_ssa(nir_src *src, void *state)
|
||||
{
|
||||
return src->is_ssa;
|
||||
}
|
||||
|
||||
static ALWAYS_INLINE bool
|
||||
static inline bool
|
||||
instr_reads_register(nir_instr *instr)
|
||||
{
|
||||
return !nir_foreach_src(instr, src_is_ssa, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue