Re: [Mesa-dev] [PATCH] i965: Rework the unlit centroid workaround.

2016-08-02 Thread Jason Ekstrand
On Aug 2, 2016 12:36 PM, "Matt Turner" wrote: > > On Mon, Aug 1, 2016 at 8:59 PM, Kenneth Graunke wrote: > > Previously, for every input, we moved the dispatch mask to the flag > > register, then emitted two predicated PLN instructions, one with > > centroid barycentric coordinates (for normal pi

Re: [Mesa-dev] [PATCH] i965: Rework the unlit centroid workaround.

2016-08-02 Thread Matt Turner
On Mon, Aug 1, 2016 at 8:59 PM, Kenneth Graunke wrote: > Previously, for every input, we moved the dispatch mask to the flag > register, then emitted two predicated PLN instructions, one with > centroid barycentric coordinates (for normal pixels), and one with > pixel barycentric coordinates (for

[Mesa-dev] [PATCH] i965: Rework the unlit centroid workaround.

2016-08-01 Thread Kenneth Graunke
Previously, for every input, we moved the dispatch mask to the flag register, then emitted two predicated PLN instructions, one with centroid barycentric coordinates (for normal pixels), and one with pixel barycentric coordinates (for unlit helper pixels). Instead, we can simply emit a set of pred