Re: [Mesa-dev] [PATCH 1/7] nir: Add new intrinsics for fragment shader input interpolation.

2016-07-19 Thread Jason Ekstrand
On Mon, Jul 18, 2016 at 1:26 PM, Kenneth Graunke wrote: > Backends can normally handle shader inputs solely by looking at > load_input intrinsics, and ignore the nir_variables in nir->inputs. > > One exception is fragment shader inputs. load_input doesn't capture > the necessary interpolation in

[Mesa-dev] [PATCH 1/7] nir: Add new intrinsics for fragment shader input interpolation.

2016-07-18 Thread Kenneth Graunke
Backends can normally handle shader inputs solely by looking at load_input intrinsics, and ignore the nir_variables in nir->inputs. One exception is fragment shader inputs. load_input doesn't capture the necessary interpolation information - flat, smooth, noperspective mode, and centroid, sample,