ptn: 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:47:08 +01:00
parent 6af5181f13
commit 65a35dc7ea

View file

@ -547,7 +547,7 @@ ptn_tex(struct ptn_compile *c, nir_alu_dest dest, nir_ssa_def **src,
instr = nir_tex_instr_create(b->shader, num_srcs);
instr->op = op;
instr->dest_type = nir_type_float;
instr->dest_type = nir_type_float32;
instr->is_shadow = prog_inst->TexShadow;
bool is_array;