Re: [Mesa-dev] [PATCH 6.5/7] i965/gs: Use NIR info for setting up prog_data

2015-10-21 Thread Kenneth Graunke
On Wednesday, October 21, 2015 12:45:27 PM Jason Ekstrand wrote: > Previously, we were pulling bits from GL data structures in order to set up > the prog_data. However, in this brave new world of NIR, we want to be > pulling it out of the NIR shader whenever possible. This way, we can move > all

[Mesa-dev] [PATCH 6.5/7] i965/gs: Use NIR info for setting up prog_data

2015-10-21 Thread Jason Ekstrand
Previously, we were pulling bits from GL data structures in order to set up the prog_data. However, in this brave new world of NIR, we want to be pulling it out of the NIR shader whenever possible. This way, we can move all this setup code into brw_compile_gs without depending on the old GL stuff