u_blitter: don't create integer vertex elements unless shader supports them
authorDave Airlie <airlied@redhat.com>
Sun, 9 Oct 2011 15:35:28 +0000 (16:35 +0100)
committerDave Airlie <airlied@redhat.com>
Sun, 9 Oct 2011 15:36:41 +0000 (16:36 +0100)
commitdd20256a1c1566f11e1fa970028f3bb4f05445b7
treeb070d32d594aea04f2234727699625092d4ccc53
parentee1487953bdbe8694fc76b9fe398d0384cd9e3b4
u_blitter: don't create integer vertex elements unless shader supports them

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

We don't want to create these vertex elements unless the pipe driver
vertex stage can handle integers.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/util/u_blitter.c