ir3: fix has_src() to return correctly in ir3_nir_lower_tex_prefetch
This seems to be originally introduced from 2a0d45ae, and 562aaea0 misused the method. Fixes: 2a0d45ae "freedreno/ir3: Add a NIR pass to select tex instructions eligible for pre-fetch" Fixes: 562aaea0 "freedreno/ir3: respect tex prefetch limits" Signed-off-by:Hyunjun Ko <zzoon@igalia.com> Reviewed-by:
Danylo Piliaiev <dpiliaiev@igalia.com> Reviewed-by:
Eric Anholt <eric@anholt.net> Part-of: <mesa/mesa!9125> (cherry picked from commit 433cdd1c)
Loading
Please register or sign in to comment