i965/vec4: Use NIR to do GS input remapping
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 4 May 2017 23:36:26 +0000 (16:36 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 9 May 2017 22:08:07 +0000 (15:08 -0700)
commit2e9916ea0410385534dc3ff45cd476143a4e2041
treeb7c3849ad780370ccfaa1516ea72ecec33e2c3c1
parente31042ab40442b06a5226de85aa91bf9c652a099
i965/vec4: Use NIR to do GS input remapping

We're already doing this in the FS back-end.  This just does the same
thing in the vec4 back-end.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_nir.c
src/intel/compiler/brw_nir.h
src/intel/compiler/brw_vec4.cpp
src/intel/compiler/brw_vec4.h
src/intel/compiler/brw_vec4_gs_nir.cpp
src/intel/compiler/brw_vec4_gs_visitor.cpp
src/intel/compiler/brw_vec4_gs_visitor.h
src/intel/compiler/brw_vec4_tcs.cpp
src/intel/compiler/gen6_gs_visitor.cpp