From e212a191a671aa1a64343eafceb99d81bd1d624d Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Mon, 12 Jul 2021 15:00:01 -0500 Subject: [PATCH] dxil: Set coord_components on the txf in lower_int_sampler Reviewed-by: Jason Ekstrand Reviewed-by: Connor Abbott Part-of: --- src/microsoft/compiler/dxil_nir_lower_int_samplers.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/microsoft/compiler/dxil_nir_lower_int_samplers.c b/src/microsoft/compiler/dxil_nir_lower_int_samplers.c index a020d24..4546a79 100644 --- a/src/microsoft/compiler/dxil_nir_lower_int_samplers.c +++ b/src/microsoft/compiler/dxil_nir_lower_int_samplers.c @@ -264,6 +264,7 @@ create_txf_from_tex(nir_builder *b, nir_tex_instr *tex) txf = nir_tex_instr_create(b->shader, num_srcs); txf->op = nir_texop_txf; + txf->coord_components = tex->coord_components; txf->sampler_dim = tex->sampler_dim; txf->is_array = tex->is_array; txf->is_shadow = tex->is_shadow; -- 2.7.4