i965: Factor out push locations.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 2 Jun 2017 16:54:31 +0000 (09:54 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 14 Jul 2017 03:18:54 +0000 (20:18 -0700)
commitc9ef27e77ba0884c3716a3c39640e987200ea46e
tree6b92b70fa641978da7911d466da3199004464478
parent4f586cd8f19a598a0f61f361840a358a7f99eaa0
i965: Factor out push locations.

With UBOs, the answer of "have we decided to push this uniform" gets
a bit more complicated - for one, we have multiple surfaces.  This
patch refactors things so we can add the new code in a single place.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_fs.h