[Mesa-dev] [PATCH 03/18] i965: Refactor and expose brw_upload_binding_table()

Kenneth Graunke kenneth at whitecape.org
Tue Apr 28 14:12:41 PDT 2015


On Wednesday, April 22, 2015 11:47:23 PM Topi Pohjolainen wrote:
> Read and write parts of the state stage are also split into
> explicit arguments allowing future patches to use constant
> program data.
> 
> Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
> ---
>  src/mesa/drivers/dri/i965/brw_binding_tables.c | 21 ++++++++++++++-------
>  src/mesa/drivers/dri/i965/brw_state.h          |  7 +++++++
>  2 files changed, 21 insertions(+), 7 deletions(-)
> 
> diff --git a/src/mesa/drivers/dri/i965/brw_binding_tables.c b/src/mesa/drivers/dri/i965/brw_binding_tables.c
> index 459165a..1142c67 100644
> --- a/src/mesa/drivers/dri/i965/brw_binding_tables.c
> +++ b/src/mesa/drivers/dri/i965/brw_binding_tables.c
> @@ -124,9 +125,12 @@ const struct brw_tracked_state brw_vs_binding_table = {
>  static void
>  brw_upload_wm_binding_table(struct brw_context *brw)
>  {
> +   /* BRW_NEW_WM_PROG_DATA */
> +   const struct brw_stage_prog_data *prog_data = brw->wm.base.prog_data;

   /* BRW_NEW_FS_PROG_DATA */ (it's not WM anymore)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150428/3fc9f311/attachment-0001.sig>


More information about the mesa-dev mailing list