From e9910fa9554a5e8560ddba28b563b1f9cbc39d3a Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Tue, 23 Sep 2025 23:28:25 +0300 Subject: [PATCH] brw: fix type conversion in tex operation params Fix a bunch of tests in dEQP-VK.glsl.texture_gather.* on Xe2+ Signed-off-by: Lionel Landwerlin Fixes: bddfbe7fb1 ("brw/blorp: lower MCS fetching in NIR") Reviewed-by: Sagar Ghuge Part-of: --- src/intel/compiler/brw_from_nir.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/intel/compiler/brw_from_nir.cpp b/src/intel/compiler/brw_from_nir.cpp index 4f5d0820265..6ab58e8a63b 100644 --- a/src/intel/compiler/brw_from_nir.cpp +++ b/src/intel/compiler/brw_from_nir.cpp @@ -7373,13 +7373,9 @@ brw_from_nir_emit_texture(nir_to_brw_state &ntb, src_type = BRW_TYPE_D; break; - case nir_tex_src_backend1: - case nir_tex_src_backend2: - src_type = BRW_TYPE_UD; - break; - default: src_type = default_src_type; + break; } switch (instr->src[i].src_type) {