[Mesa-dev] [PATCH 15/16] st/nine: Fix update_vertex_elements bad rebase

Ilia Mirkin imirkin at alum.mit.edu
Fri Apr 24 14:51:43 PDT 2015


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

On Fri, Apr 24, 2015 at 4:09 PM, Axel Davy <axel.davy at ens.fr> wrote:
> This code was supposed to be removed, but a rebase seems to have
> made it stay.
>
> Signed-off-by: Axel Davy <axel.davy at ens.fr>
> ---
>  src/gallium/state_trackers/nine/nine_state.c | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/src/gallium/state_trackers/nine/nine_state.c b/src/gallium/state_trackers/nine/nine_state.c
> index 6e01955..034e666 100644
> --- a/src/gallium/state_trackers/nine/nine_state.c
> +++ b/src/gallium/state_trackers/nine/nine_state.c
> @@ -225,9 +225,6 @@ update_vertex_elements(struct NineDevice9 *device)
>      memset(used_streams, 0, device->caps.MaxStreams);
>      vs = device->state.vs ? device->state.vs : device->ff.vs;
>
> -    if (!vdecl) /* no inputs */
> -        return;
> -
>      if (vdecl) {
>          for (n = 0; n < vs->num_inputs; ++n) {
>              DBG("looking up input %u (usage %u) from vdecl(%p)\n",
> --
> 2.1.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list