From 3f91f4e2ab6cb720c8fe7e5151794ca8defa88c6 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Tue, 4 Aug 2020 17:34:13 +0300 Subject: [PATCH] nir: don't consider txf_ms_mcs a query instruction Signed-off-by: Lionel Landwerlin Reviewed-by: Jason Ekstrand Part-of: --- src/compiler/nir/nir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index 397e4f0a41a..4224835279b 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -2369,7 +2369,6 @@ nir_tex_instr_is_query(const nir_tex_instr *instr) case nir_texop_lod: case nir_texop_texture_samples: case nir_texop_query_levels: - case nir_texop_txf_ms_mcs: return true; case nir_texop_tex: case nir_texop_txb: @@ -2378,6 +2377,7 @@ nir_tex_instr_is_query(const nir_tex_instr *instr) case nir_texop_txf: case nir_texop_txf_ms: case nir_texop_txf_ms_fb: + case nir_texop_txf_ms_mcs: case nir_texop_tg4: return false; default: