Re: [Mesa-dev] [PATCH v3 2/2] R600/SI: Optimize SI_KILL for constant operands

2014-02-26 Thread Tom Stellard
On Wed, Feb 26, 2014 at 01:48:39PM +0900, Michel Dänzer wrote: > From: Michel Dänzer > > If the SI_KILL operand is constant, we can either clear the exec mask if > the operand is negative, or do nothing otherwise. > > Signed-off-by: Michel Dänzer Reviewed-by: Tom Stellard > --- > > v3: > *

[Mesa-dev] [PATCH v3 2/2] R600/SI: Optimize SI_KILL for constant operands

2014-02-25 Thread Michel Dänzer
From: Michel Dänzer If the SI_KILL operand is constant, we can either clear the exec mask if the operand is negative, or do nothing otherwise. Signed-off-by: Michel Dänzer --- v3: * Use VSrc_32 for the SI_KILL operand. * Drop unused Depth parameter from SILowerControlFlowPass::Kill(). * Use lo