From: Eric Anholt Date: Wed, 30 Jun 2010 22:49:04 +0000 (-0700) Subject: ir_to_mesa: Initialize the (we never use it) abs field of Mesa src regs. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=285ff93819724b9a858984dc8c30858784a5ee5b;p=mesa.git ir_to_mesa: Initialize the (we never use it) abs field of Mesa src regs. --- diff --git a/src/mesa/shader/ir_to_mesa.cpp b/src/mesa/shader/ir_to_mesa.cpp index 8bfa4687a37..ed1373b6d96 100644 --- a/src/mesa/shader/ir_to_mesa.cpp +++ b/src/mesa/shader/ir_to_mesa.cpp @@ -1401,6 +1401,7 @@ mesa_src_reg_from_ir_src_reg(ir_to_mesa_src_reg reg) mesa_reg.Swizzle = reg.swizzle; mesa_reg.RelAddr = reg.reladdr; mesa_reg.Negate = reg.negate; + mesa_reg.Abs = 0; return mesa_reg; }