i965: Refactor and expose brw_upload_binding_table()
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Thu, 19 Mar 2015 08:42:49 +0000 (10:42 +0200)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Wed, 29 Apr 2015 21:28:47 +0000 (00:28 +0300)
commit21071afc431bb17419c353151544518be7daf05f
tree6c1ca4e47faa084e7f6fdb5d55384fdca8c3e3dd
parentc15e20d8f6f6d632ad55d444149c2a12d0dcc515
i965: Refactor and expose brw_upload_binding_table()

Read and write parts of the state stage are also split into
explicit arguments allowing future patches to use constant
program data.

v2 (Ken): s/BRW_NEW_WM_PROG_DATA/BRW_NEW_FS_PROG_DATA/

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_binding_tables.c
src/mesa/drivers/dri/i965/brw_state.h