Re: [Mesa-dev] [PATCH 03/17] nir: take cross-thread operations into account into a few places

2017-06-12 Thread Nicolai Hähnle
On 12.06.2017 20:58, Connor Abbott wrote: On Mon, Jun 12, 2017 at 2:21 AM, Nicolai Hähnle wrote: On 10.06.2017 01:44, Connor Abbott wrote: From: Connor Abbott These optimizations happened to work with derivatives, but they won't with upcoming shader_ballot and group_vote instructions. Sign

Re: [Mesa-dev] [PATCH 03/17] nir: take cross-thread operations into account into a few places

2017-06-12 Thread Connor Abbott
On Mon, Jun 12, 2017 at 2:21 AM, Nicolai Hähnle wrote: > On 10.06.2017 01:44, Connor Abbott wrote: >> >> From: Connor Abbott >> >> These optimizations happened to work with derivatives, but they won't >> with upcoming shader_ballot and group_vote instructions. >> >> Signed-off-by: Connor Abbott

Re: [Mesa-dev] [PATCH 03/17] nir: take cross-thread operations into account into a few places

2017-06-12 Thread Nicolai Hähnle
On 10.06.2017 01:44, Connor Abbott wrote: From: Connor Abbott These optimizations happened to work with derivatives, but they won't with upcoming shader_ballot and group_vote instructions. Signed-off-by: Connor Abbott --- src/compiler/nir/nir_instr_set.c | 22 +

[Mesa-dev] [PATCH 03/17] nir: take cross-thread operations into account into a few places

2017-06-09 Thread Connor Abbott
From: Connor Abbott These optimizations happened to work with derivatives, but they won't with upcoming shader_ballot and group_vote instructions. Signed-off-by: Connor Abbott --- src/compiler/nir/nir_instr_set.c | 22 ++ src/compiler/nir/nir_opt_peephole_select.c