From c81389ace0acb9ea2fa84eae754fa58748c4fb19 Mon Sep 17 00:00:00 2001 From: Connor Abbott Date: Tue, 8 Dec 2020 13:39:10 +0100 Subject: [PATCH] dxil: Use sized types for nir_tex_instr::dest_type Reviewed-by: Jason Ekstrand Part-of: --- src/microsoft/compiler/dxil_nir_lower_int_samplers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/microsoft/compiler/dxil_nir_lower_int_samplers.c b/src/microsoft/compiler/dxil_nir_lower_int_samplers.c index 81d1ad2fa4c..a020d243b77 100644 --- a/src/microsoft/compiler/dxil_nir_lower_int_samplers.c +++ b/src/microsoft/compiler/dxil_nir_lower_int_samplers.c @@ -71,7 +71,7 @@ dx_get_texture_lod(nir_builder *b, nir_tex_instr *tex) tql->is_new_style_shadow = tex->is_new_style_shadow; tql->texture_index = tex->texture_index; tql->sampler_index = tex->sampler_index; - tql->dest_type = nir_type_float; + tql->dest_type = nir_type_float32; /* The coordinate needs special handling because we might have * to strip the array index. Don't clutter the code with an additional