[Mesa-dev] [PATCH 66/88] i965: make gs key generation helper available to shader cache

Kenneth Graunke kenneth at whitecape.org
Mon Sep 26 01:45:30 UTC 2016


On Saturday, September 24, 2016 3:25:47 PM PDT Timothy Arceri wrote:
> ---
>  src/mesa/drivers/dri/i965/brw_gs.c | 2 +-
>  src/mesa/drivers/dri/i965/brw_gs.h | 4 ++++
>  2 files changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/src/mesa/drivers/dri/i965/brw_gs.c b/src/mesa/drivers/dri/i965/brw_gs.c
> index 73f88fa..7b668ba 100644
> --- a/src/mesa/drivers/dri/i965/brw_gs.c
> +++ b/src/mesa/drivers/dri/i965/brw_gs.c
> @@ -206,7 +206,7 @@ brw_gs_state_dirty(const struct brw_context *brw)
>                            BRW_NEW_TRANSFORM_FEEDBACK);
>  }
>  
> -static void
> +void
>  brw_gs_populate_key(struct brw_context *brw,
>                      struct brw_gs_prog_key *key)
>  {
> diff --git a/src/mesa/drivers/dri/i965/brw_gs.h b/src/mesa/drivers/dri/i965/brw_gs.h
> index 13d6be8..7ccd22e 100644
> --- a/src/mesa/drivers/dri/i965/brw_gs.h
> +++ b/src/mesa/drivers/dri/i965/brw_gs.h
> @@ -37,6 +37,10 @@ struct gl_shader_program;
>  void
>  brw_upload_gs_prog(struct brw_context *brw);
>  
> +void
> +brw_gs_populate_key(struct brw_context *brw,
> +                    struct brw_gs_prog_key *key);
> +
>  bool
>  brw_codegen_gs_prog(struct brw_context *brw,
>                      struct gl_shader_program *prog,
> 

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- 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/c1771b73/attachment.sig>


More information about the mesa-dev mailing list