[Mesa-dev] nir: find_msb vs clz

2020-04-01 Thread Erik Faye-Lund
While working on the NIR to DXIL conversion code for D3D12, I've noticed that we're not exactly doing the best we could here. First some background: NIR currently has a few instructions that does kinda the same: 1. nir_op_ufind_msb: Finds the index of the most significant bit, counting from the

Re: [Mesa-dev] nir: find_msb vs clz

2020-04-01 Thread Ilia Mirkin
On Wed, Apr 1, 2020 at 2:39 PM Erik Faye-Lund wrote: > > While working on the NIR to DXIL conversion code for D3D12, I've > noticed that we're not exactly doing the best we could here. > > First some background: > > NIR currently has a few instructions that does kinda the same: > > 1. nir_op_ufind

Re: [Mesa-dev] nir: find_msb vs clz

2020-04-01 Thread Eric Anholt
On Wed, Apr 1, 2020 at 11:39 AM Erik Faye-Lund wrote: > > While working on the NIR to DXIL conversion code for D3D12, I've > noticed that we're not exactly doing the best we could here. > > First some background: > > NIR currently has a few instructions that does kinda the same: > > 1. nir_op_ufin

Re: [Mesa-dev] nir: find_msb vs clz

2020-04-01 Thread Jason Ekstrand
On Wed, Apr 1, 2020 at 1:52 PM Eric Anholt wrote: > > On Wed, Apr 1, 2020 at 11:39 AM Erik Faye-Lund > wrote: > > > > While working on the NIR to DXIL conversion code for D3D12, I've > > noticed that we're not exactly doing the best we could here. > > > > First some background: > > > > NIR curren

[Mesa-dev] [ANNOUNCE] mesa 20.0.3

2020-04-01 Thread Eric Engestrom
Hi all, I'd like to announce the release of Mesa 20.0.3. Quite a busy cycle again, with fixes all over the tree, but nothing extraordinary; mostly AMD (radv, aco), NIR and Intel (isl, anv), as expected. Cheers, Eric --- Git shortlog Caio Marcelo de Oliveira Filho (1): mes