[Mesa-dev] [PATCH 09/29] program/nir: include bit-size information
Jason Ekstrand
jason at jlekstrand.net
Mon Mar 21 22:41:32 UTC 2016
On Mon, Mar 21, 2016 at 5:05 AM, Samuel Iglesias Gonsálvez <
siglesias at igalia.com> wrote:
> From: Iago Toral Quiroga <itoral at igalia.com>
>
> ---
> src/mesa/program/prog_to_nir.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/program/prog_to_nir.c
> b/src/mesa/program/prog_to_nir.c
> index 16b79c9..0eac73c 100644
> --- a/src/mesa/program/prog_to_nir.c
> +++ b/src/mesa/program/prog_to_nir.c
> @@ -596,7 +596,7 @@ ptn_tex(nir_builder *b, 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;
>
This needs to go in with 7 and 8.
> instr->is_shadow = prog_inst->TexShadow;
> instr->texture_index = prog_inst->TexSrcUnit;
> instr->sampler_index = prog_inst->TexSrcUnit;
> --
> 2.5.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160321/fbd0ef2f/attachment-0001.html>
More information about the mesa-dev
mailing list