Re: [Mesa-dev] [PATCH] nv50/ir: make a copy of tex src if it's referenced multiple times

2018-04-09 Thread Ilia Mirkin
On Mon, Apr 9, 2018 at 10:23 PM, Ilia Mirkin wrote: > For nv50 we coalesce the srcs and defs into a single node (some ops > can't take a separate src and dst, while others can only handle one reg > in the short encoding mode). > > [Side-note: the ops for which there is an

[Mesa-dev] [PATCH] nv50/ir: make a copy of tex src if it's referenced multiple times

2018-04-09 Thread Ilia Mirkin
For nv50 we coalesce the srcs and defs into a single node (some ops can't take a separate src and dst, while others can only handle one reg in the short encoding mode). [Side-note: the ops for which there is an encoding that can take a src should instead use the RA's register preference