mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-20 20:40:42 +01:00
zink: ignore nir_texop_lod for tex dest matching
this doesn't need fixing Fixes:3a47576687("zink: add a compiler pass to match up tex op dest types") Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18196> (cherry picked from commit585fa6bf40)
This commit is contained in:
parent
72681ac88e
commit
4bbf83a4a8
2 changed files with 2 additions and 2 deletions
|
|
@ -12046,7 +12046,7 @@
|
|||
"description": "zink: ignore nir_texop_lod for tex dest matching",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "3a47576687624e1ed4661d7f5b6c0e54998ada48"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2881,7 +2881,7 @@ match_tex_dests_instr(nir_builder *b, nir_instr *in, void *data)
|
|||
if (in->type != nir_instr_type_tex)
|
||||
return false;
|
||||
nir_tex_instr *tex = nir_instr_as_tex(in);
|
||||
if (tex->op == nir_texop_txs)
|
||||
if (tex->op == nir_texop_txs || tex->op == nir_texop_lod)
|
||||
return false;
|
||||
int handle = nir_tex_instr_src_index(tex, nir_tex_src_texture_handle);
|
||||
nir_variable *var = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue