[Mesa-dev] [PATCH v02 31/37] i965: Port gen7+ 3DSTATE_TE to genxml.

Kenneth Graunke kenneth at whitecape.org
Tue Apr 25 23:51:48 UTC 2017


On Monday, April 24, 2017 3:19:26 PM PDT Rafael Antognolli wrote:
[snip]
> diff --git a/src/mesa/drivers/dri/i965/genX_state_upload.c b/src/mesa/drivers/dri/i965/genX_state_upload.c
> index 1bdcea5..45b02a6 100644
> --- a/src/mesa/drivers/dri/i965/genX_state_upload.c
> +++ b/src/mesa/drivers/dri/i965/genX_state_upload.c
> @@ -2315,6 +2315,42 @@ static const struct brw_tracked_state genX(ds_state) = {
>     .emit = genX(upload_ds_state),
>  };
>  
> +/* ---------------------------------------------------------------------- */
> +
> +static void
> +upload_te_state(struct brw_context *brw)
> +{
> +   /* BRW_NEW_TESS_PROGRAMS */
> +   bool active = brw->tess_eval_program;
> +

   /* BRW_NEW_TES_PROG_DATA */

> +   const struct brw_tes_prog_data *tes_prog_data =
> +      brw_tes_prog_data(brw->tes.base.prog_data);

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170425/92924e80/attachment.sig>


More information about the mesa-dev mailing list