[Mesa-dev] [PATCH 06/88] i965: make vs and fs key generation helpers available to shader cache

Kenneth Graunke kenneth at whitecape.org
Mon Sep 26 01:46:43 UTC 2016


On Saturday, September 24, 2016 3:24:47 PM PDT Timothy Arceri wrote:
> From: Carl Worth <cworth at cworth.org>
> 
> Signed-off-by: Timothy Arceri <timothy.arceri at collabora.com>
> ---
>  src/mesa/drivers/dri/i965/brw_vs.c | 3 +--
>  src/mesa/drivers/dri/i965/brw_vs.h | 4 ++++
>  src/mesa/drivers/dri/i965/brw_wm.c | 2 +-
>  src/mesa/drivers/dri/i965/brw_wm.h | 4 ++++
>  4 files changed, 10 insertions(+), 3 deletions(-)
> 
> diff --git a/src/mesa/drivers/dri/i965/brw_vs.c b/src/mesa/drivers/dri/i965/brw_vs.c
> index f3aeab6..c6b1e41 100644
> --- a/src/mesa/drivers/dri/i965/brw_vs.c
> +++ b/src/mesa/drivers/dri/i965/brw_vs.c
> @@ -304,12 +304,11 @@ brw_vs_state_dirty(const struct brw_context *brw)
>                            BRW_NEW_VS_ATTRIB_WORKAROUNDS);
>  }
>  
> -static void
> +void
>  brw_vs_populate_key(struct brw_context *brw,
>                      struct brw_vs_prog_key *key)
>  {
>     struct gl_context *ctx = &brw->ctx;
> -   /* BRW_NEW_VERTEX_PROGRAM */

Please leave this line there.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

>     struct brw_vertex_program *vp =
>        (struct brw_vertex_program *)brw->vertex_program;
>     struct gl_program *prog = (struct gl_program *) brw->vertex_program;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160925/26cbd2c0/attachment.sig>


More information about the mesa-dev mailing list