elk: Set lower_txd_data to devinfo

Otherwise data will be NULL, and there will be an instant segfault.

Closes: #14035
Fixes: a49cf90e14 ("elk: use the new lower_txd_cb")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37698>
This commit is contained in:
Ian Romanick 2025-10-03 16:57:49 -07:00 committed by Marge Bot
parent e60d34fa78
commit 911f033058

View file

@ -1035,6 +1035,7 @@ elk_preprocess_nir(const struct elk_compiler *compiler, nir_shader *nir,
.lower_txs_lod = true, /* Wa_14012320009 */
.lower_invalid_implicit_lod = true,
.lower_txd_cb = lower_txd_cb,
.lower_txd_data = devinfo,
};
OPT(nir_lower_tex, &tex_options);