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