[Mesa-stable] [Mesa-dev] [PATCH] st/mesa: fix assignments with 4-operand arguments (i.e. BFI)
Marek Olšák
maraeo at gmail.com
Fri Aug 21 04:34:47 PDT 2015
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Marek
On Fri, Aug 21, 2015 at 2:00 AM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
> Cc: "10.6" <mesa-stable at lists.freedesktop.org>
> ---
> src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
> index c8e1b8f..76a77f0 100644
> --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
> +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
> @@ -2816,7 +2816,7 @@ glsl_to_tgsi_visitor::visit(ir_assignment *ir)
> */
> glsl_to_tgsi_instruction *inst, *new_inst;
> inst = (glsl_to_tgsi_instruction *)this->instructions.get_tail();
> - new_inst = emit_asm(ir, inst->op, l, inst->src[0], inst->src[1], inst->src[2]);
> + new_inst = emit_asm(ir, inst->op, l, inst->src[0], inst->src[1], inst->src[2], inst->src[3]);
> new_inst->saturate = inst->saturate;
> inst->dead_mask = inst->dst[0].writemask;
> } else {
> --
> 2.4.6
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-stable
mailing list