Re: [Mesa-dev] [PATCH] nir: split out lower_sub from lower_negate

2015-04-06 Thread Eric Anholt
Rob Clark writes: > From: Rob Clark > > Originally you had to have one or the other. But actually I don't want > either. (Or rather I want whatever is the minimum # of instructions.) > > TODO: not sure where the best place to insert a check that driver hasn't > set *both* lower_negate and lowe

[Mesa-dev] [PATCH] nir: split out lower_sub from lower_negate

2015-04-04 Thread Rob Clark
From: Rob Clark Originally you had to have one or the other. But actually I don't want either. (Or rather I want whatever is the minimum # of instructions.) TODO: not sure where the best place to insert a check that driver hasn't set *both* lower_negate and lower_sub? Signed-off-by: Rob Clark