From 30f3fec380176b20078a37a27f3da4059aaa39e4 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 2 Nov 2022 16:33:48 -0500 Subject: [PATCH] nir: Add more opcodes to nir_tex_instr_is_query() Reviewed-by: Bas Nieuwenhuizen Reviewed-by: Samuel Pitoiset Part-of: --- src/compiler/nir/nir.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/compiler/nir/nir.c b/src/compiler/nir/nir.c index 71d7b48670f..ffdfc60c8ce 100644 --- a/src/compiler/nir/nir.c +++ b/src/compiler/nir/nir.c @@ -3265,6 +3265,9 @@ nir_tex_instr_is_query(const nir_tex_instr *instr) case nir_texop_txf_ms_fb: case nir_texop_txf_ms_mcs_intel: case nir_texop_tg4: + case nir_texop_samples_identical: + case nir_texop_fragment_mask_fetch_amd: + case nir_texop_fragment_fetch_amd: return false; default: unreachable("Invalid texture opcode");