Re: [Mesa-dev] [PATCH 6/7] i965: Rewrite FS input handling to use the new NIR intrinsics.

2016-07-19 Thread Jason Ekstrand
On Tue, Jul 19, 2016 at 5:02 PM, Kenneth Graunke wrote: > On Tuesday, July 19, 2016 1:39:23 PM PDT Jason Ekstrand wrote: > > On Mon, Jul 18, 2016 at 1:26 PM, Kenneth Graunke > > wrote: > > > > > This eliminates the need to walk the list of input

Re: [Mesa-dev] [PATCH 6/7] i965: Rewrite FS input handling to use the new NIR intrinsics.

2016-07-19 Thread Kenneth Graunke
On Tuesday, July 19, 2016 1:39:23 PM PDT Jason Ekstrand wrote: > On Mon, Jul 18, 2016 at 1:26 PM, Kenneth Graunke > wrote: > > > This eliminates the need to walk the list of input variables, recurse > > into their types (via logic largely redundant with nir_lower_io), and

Re: [Mesa-dev] [PATCH 6/7] i965: Rewrite FS input handling to use the new NIR intrinsics.

2016-07-19 Thread Jason Ekstrand
On Mon, Jul 18, 2016 at 1:26 PM, Kenneth Graunke wrote: > This eliminates the need to walk the list of input variables, recurse > into their types (via logic largely redundant with nir_lower_io), and > interpolate all possible inputs up front. The backend no longer has >

Re: [Mesa-dev] [PATCH 6/7] i965: Rewrite FS input handling to use the new NIR intrinsics.

2016-07-18 Thread Chris Forbes
On Tue, Jul 19, 2016 at 8:26 AM, Kenneth Graunke wrote: > + default: > + assert(!"invalid intrinsic"); > unreachable() ? ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org

[Mesa-dev] [PATCH 6/7] i965: Rewrite FS input handling to use the new NIR intrinsics.

2016-07-18 Thread Kenneth Graunke
This eliminates the need to walk the list of input variables, recurse into their types (via logic largely redundant with nir_lower_io), and interpolate all possible inputs up front. The backend no longer has to care about variables at all, which eliminates complications from trying to pack