mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
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:
parent
e60d34fa78
commit
911f033058
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue