mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 16:00:08 +01:00
hk: fix flrp lowering
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:
parent
09d493fc54
commit
819213dc29
1 changed files with 1 additions and 0 deletions
|
|
@ -628,6 +628,7 @@ lower(nir_builder *b, nir_tex_instr *tex, UNUSED void *_data)
|
||||||
* Linear filtering is linear (duh), so lerping is compatible.
|
* Linear filtering is linear (duh), so lerping is compatible.
|
||||||
*/
|
*/
|
||||||
replaced = nir_flrp(b, clamp_to_0, clamp_to_1, border);
|
replaced = nir_flrp(b, clamp_to_0, clamp_to_1, border);
|
||||||
|
b->shader->info.flrp_lowered = false;
|
||||||
} else {
|
} else {
|
||||||
/* For integers, just select componentwise since there is no linear
|
/* For integers, just select componentwise since there is no linear
|
||||||
* filtering. Gathers also use this path since they are unfiltered in
|
* filtering. Gathers also use this path since they are unfiltered in
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue