st/atifs: 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 2021-01-11 15:31:17 +01:00
parent 8133649918
commit 60bb3fec54
1 changed files with 1 additions and 1 deletions

View File

@ -361,7 +361,7 @@ compile_setupinst(struct st_translate *t,
nir_tex_instr *tex = nir_tex_instr_create(t->b->shader, 3);
tex->op = nir_texop_tex;
tex->sampler_dim = glsl_get_sampler_dim(tex_var->type);
tex->dest_type = nir_type_float;
tex->dest_type = nir_type_float32;
tex->coord_components =
glsl_get_sampler_dim_coordinate_components(tex->sampler_dim);