OSDN Git Service

i965/gs: Use NIR info for setting up prog_data
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 21 Oct 2015 19:02:08 +0000 (12:02 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 21 Oct 2015 21:20:32 +0000 (14:20 -0700)
commitf3bc73073af70a7fe4d2612c80bfb5ae5820b963
tree9d3168004af65a88bb5e3b0f1e94807a05c0a5ee
parentfac9b21e037f9ce456039fbf35cd5fa573dee229
i965/gs: Use NIR info for setting up prog_data

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.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_gs.c