Re: [Mesa-dev] [PATCH 2/3] i965/vec4: Don't fix_math_operand() on Gen >= 8.

2014-06-24 Thread Matt Turner
On Mon, Jun 23, 2014 at 7:36 PM, Ben Widawsky wrote: > On Mon, Jun 23, 2014 at 01:30:14PM -0700, Matt Turner wrote: >> The emit_math?_gen? functions serve to implement workarounds for the >> math instruction, none of which exist on Gen8+. > > There are still several restrictions with the math inst

Re: [Mesa-dev] [PATCH 2/3] i965/vec4: Don't fix_math_operand() on Gen >= 8.

2014-06-23 Thread Ben Widawsky
On Mon, Jun 23, 2014 at 01:30:14PM -0700, Matt Turner wrote: > The emit_math?_gen? functions serve to implement workarounds for the > math instruction, none of which exist on Gen8+. There are still several restrictions with the math instruction on gen8. Looking at the existing code, I realize I do

[Mesa-dev] [PATCH 2/3] i965/vec4: Don't fix_math_operand() on Gen >= 8.

2014-06-23 Thread Matt Turner
The emit_math?_gen? functions serve to implement workarounds for the math instruction, none of which exist on Gen8+. --- src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp b/src/