r600g: only init GS_VERT_ITEMSIZE on r600
authorDave Airlie <airlied@redhat.com>
Wed, 10 Dec 2014 03:48:29 +0000 (13:48 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 10 Dec 2014 06:34:40 +0000 (16:34 +1000)
commit7f21cf71989ba780639594ebb34d6e7345b08436
treec9939a65fe572765aa6378cabff42f3525ba2e60
parent8812dc503eb48bac5b9c9b5740f76025c046f90d
r600g: only init GS_VERT_ITEMSIZE on r600

On evergreen there are 4 regs, on r600/700 there is only one.

Don't initialise regs and trash someone elses state.

Not sure this fixes anything, but hey one less stupid.

Reviewed-By: Glenn Kennard <glenn.kennard@gmail.com>
Cc: "10.3 10.4" mesa-stable@lists.freedesktop.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_state.c