varray.c: fix logic around BGRA with ARB_vertex_type_2_10_10_10_rev.
authorDave Airlie <airlied@redhat.com>
Wed, 7 Sep 2011 09:19:14 +0000 (10:19 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 7 Sep 2011 09:20:47 +0000 (10:20 +0100)
commit99c1a58b3067893d4fa444cd4abcf13bb43232ef
treee3f8c14a47b55a120b1f925ebcd029addd3cfcbf
parent6edef25a4b41583e1c285653fc0b84a316e9743d
varray.c: fix logic around BGRA with ARB_vertex_type_2_10_10_10_rev.

I introduced a regression in here, I've just split the logic ot now, so
its easier to read/understand.

Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=40664

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/varray.c