hk: fix flrp lowering
Some checks failed
macOS-CI / macOS-CI (dri) (push) Has been cancelled
macOS-CI / macOS-CI (xlib) (push) Has been cancelled

Piles of CTS blowing up, e.g. dEQP-VK.api.copy_and_blit.core.blit_image.all_formats.color.2d.r5g6b5_unorm_pack16.r32g32b32a32_sfloat.optimal_optimal_linear

Fixes: 4bbc29373a ("nir/lower_flrp: Check and set shader_info::flrp_lowered")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38955>
This commit is contained in:
Alyssa Rosenzweig 2025-12-16 10:08:08 -05:00 committed by Marge Bot
parent 09d493fc54
commit 819213dc29

View file

@ -628,6 +628,7 @@ lower(nir_builder *b, nir_tex_instr *tex, UNUSED void *_data)
* Linear filtering is linear (duh), so lerping is compatible.
*/
replaced = nir_flrp(b, clamp_to_0, clamp_to_1, border);
b->shader->info.flrp_lowered = false;
} else {
/* For integers, just select componentwise since there is no linear
* filtering. Gathers also use this path since they are unfiltered in