[Mesa-stable] [Mesa-dev] [PATCH 06/11] st/nine: fix wrong variable reset

Ilia Mirkin imirkin at alum.mit.edu
Sun Nov 23 21:38:09 PST 2014


On Sun, Nov 23, 2014 at 5:40 PM, David Heidelberg <david at ixit.cz> wrote:
> From: Axel Davy <axel.davy at ens.fr>
>
> Error detected by Coverity (COPY_PAST_ERROR)

Probably COPY_PASTE_ERROR? Didn't check...

>
> Cc: "10.4" <mesa-stable at lists.freedesktop.org>
> Signed-off-by: Axel Davy <axel.davy at ens.fr>
> Signed-off-by: David Heidelberg <david at ixit.cz>

Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

> ---
>  src/gallium/state_trackers/nine/nine_state.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/state_trackers/nine/nine_state.c b/src/gallium/state_trackers/nine/nine_state.c
> index 0215d08..6924449 100644
> --- a/src/gallium/state_trackers/nine/nine_state.c
> +++ b/src/gallium/state_trackers/nine/nine_state.c
> @@ -400,7 +400,7 @@ update_constants(struct NineDevice9 *device, unsigned shader_type)
>          const_i = &device->state.ps_const_i[0][0];
>
>          dirty_b = device->state.changed.ps_const_b;
> -        device->state.changed.vs_const_b = 0;
> +        device->state.changed.ps_const_b = 0;
>          const_b = device->state.ps_const_b;
>          b_true = device->ps_bool_true;
>
> --
> 2.1.3
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-stable mailing list