i965/nir/gs: Handle geometry shaders inputs
authorIago Toral Quiroga <itoral@igalia.com>
Mon, 29 Jun 2015 11:52:30 +0000 (13:52 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 3 Aug 2015 16:40:50 +0000 (09:40 -0700)
commit551af29d2d8be33b66641fe47ee5156489c16132
treedfab91dedce19048267d44e99ae949620bb55b82
parent7ade42755f8900aaf67073214c073419f734e7a8
i965/nir/gs: Handle geometry shaders inputs

Outputs from the vertex shader become array inputs in the geomtry shader,
but the arrays are interleaved, so we need to map our inputs accordingly.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/brw_vec4_gs_nir.cpp [new file with mode: 0644]
src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.h