mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
mesa/st: fix st_nir_lower_tex_src_plane arguments
st_nir_lower_tex_src_plane expects a mask, no a boolean.
CC: mesa-stable
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9931>
(cherry picked from commit 72c54713aa)
This commit is contained in:
parent
1665f478ac
commit
882d47fae4
2 changed files with 2 additions and 2 deletions
|
|
@ -139,7 +139,7 @@
|
|||
"description": "mesa/st: fix st_nir_lower_tex_src_plane arguments",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1321,7 +1321,7 @@ st_create_fp_variant(struct st_context *st,
|
|||
key->external.lower_yuv)) {
|
||||
NIR_PASS_V(state.ir.nir, st_nir_lower_tex_src_plane,
|
||||
~stfp->Base.SamplersUsed,
|
||||
key->external.lower_nv12 || key->external.lower_xy_uxvx ||
|
||||
key->external.lower_nv12 | key->external.lower_xy_uxvx |
|
||||
key->external.lower_yx_xuxv,
|
||||
key->external.lower_iyuv);
|
||||
finalize = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue