Re: [Mesa-dev] [PATCH] gallivm: simplify geometry shader mask handling a bit

2013-08-12 Thread Zack Rusin
> From: Roland Scheidegger > > Instead of reducing masks to 0/1 simply use the mask directly as -1. > Also use some signed comparison instead of unsigned (as far as I understand > these values have to be (very) small and signed means llvm doesn't have to > apply additional logic to do the unsigne

[Mesa-dev] [PATCH] gallivm: simplify geometry shader mask handling a bit

2013-08-12 Thread sroland
From: Roland Scheidegger Instead of reducing masks to 0/1 simply use the mask directly as -1. Also use some signed comparison instead of unsigned (as far as I understand these values have to be (very) small and signed means llvm doesn't have to apply additional logic to do the unsigned comparison