i965: Reorganize the code in brw_upload_binding_tables.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 6 Mar 2014 23:39:50 +0000 (15:39 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 10 Mar 2014 20:05:12 +0000 (13:05 -0700)
commitdb26253a482a721d8ae93cc306e3c6ce070c06cf
tree80ff4b56ef7b7ace06a8b62f07e4b03980c9fe3e
parent8c136b53b79e90b9e8f30f891b8bef112fee375d
i965: Reorganize the code in brw_upload_binding_tables.

This makes both the empty and non-empty binding table paths exit through
the bottom of the function, which gives us a place to share code.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_binding_tables.c