dxil: Use sized types for nir_tex_instr::dest_type

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7989>
This commit is contained in:
Connor Abbott 2020-12-08 13:39:10 +01:00
parent 5c41a416c1
commit c81389ace0

View file

@ -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