From f0a767f0e41f21713771663a49d2ada0bee9eb2d Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Tue, 17 Nov 2020 12:12:08 +0100 Subject: [PATCH] nir: Fix LOD source type for txf_ms instructions txf_ms takes an integer LOD, not a float. Signed-off-by: Boris Brezillon Reviewed-by: Alyssa Rosenzweig Reviewed-by: Jason Ekstrand Part-of: --- src/compiler/nir/nir.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index 486d277b44f..9e7420febaa 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -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: