[Mesa-dev] [PATCH] i965: Fix warnings introduced in commit e24ef5ab.

Kenneth Graunke kenneth at whitecape.org
Sun Jul 6 15:43:03 PDT 2014


On Saturday, July 05, 2014 11:24:53 PM Matt Turner wrote:
> ---
>  src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c 
b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
> index c0756ad..4a3111a 100644
> --- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
> +++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
> @@ -479,13 +479,12 @@ brw_update_sol_surface(struct brw_context *brw,
>  static void
>  brw_upload_wm_pull_constants(struct brw_context *brw)
>  {
> -   struct gl_context *ctx = &brw->ctx;
>     struct brw_stage_state *stage_state = &brw->wm.base;
>     /* BRW_NEW_FRAGMENT_PROGRAM */
>     struct brw_fragment_program *fp =
>        (struct brw_fragment_program *) brw->fragment_program;
>     /* CACHE_NEW_WM_PROG */
> -   struct gl_stage_prog_data *prog_data = &brw->wm.prog_data->base;
> +   struct brw_stage_prog_data *prog_data = &brw->wm.prog_data->base;
>  
>     /* _NEW_PROGRAM_CONSTANTS */
>     brw_upload_pull_constants(brw, BRW_NEW_SURFACES, &fp->program.Base,
> 

Whoops, sorry for not doing a better job of checking those patches.

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


More information about the mesa-dev mailing list