Re: [Mesa-dev] [PATCH 16/20] nir: Add a ballot32 intrinsic

2017-07-10 Thread Matt Turner
On Thu, Jul 6, 2017 at 7:39 PM, Connor Abbott wrote: > I've thought about this a little bit, and I think we'd rather just > decrease the bitsize of the intrinsic rather than add a whole new one. > The separate intrinsic isn't really buying you anything, I don't think > it's

Re: [Mesa-dev] [PATCH 16/20] nir: Add a ballot32 intrinsic

2017-07-06 Thread Connor Abbott
I've thought about this a little bit, and I think we'd rather just decrease the bitsize of the intrinsic rather than add a whole new one. The separate intrinsic isn't really buying you anything, I don't think it's going to make anything simpler. On Thu, Jul 6, 2017 at 4:48 PM, Matt Turner

[Mesa-dev] [PATCH 16/20] nir: Add a ballot32 intrinsic

2017-07-06 Thread Matt Turner
Some hardware, like i965, doesn't support group sizes greater than 32. In that case, we can use the ballot32 intrinsic instead, which will simplify our code generation. --- src/compiler/nir/nir.h| 2 ++ src/compiler/nir/nir_intrinsics.h | 3 +++