nir: Fix LOD source type for txf_ms instructions
txf_ms takes an integer LOD, not a float. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7653>
This commit is contained in:
@@ -2456,6 +2456,7 @@ nir_tex_instr_src_type(const nir_tex_instr *instr, unsigned src)
|
||||
switch (instr->op) {
|
||||
case nir_texop_txs:
|
||||
case nir_texop_txf:
|
||||
case nir_texop_txf_ms:
|
||||
return nir_type_int;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user