r600g: write proper output prim type
authorDave Airlie <airlied@redhat.com>
Tue, 24 Dec 2013 05:59:19 +0000 (05:59 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 5 Feb 2014 00:49:40 +0000 (10:49 +1000)
commitcda63db780512f7ca81f5e7973120d335e576ad6
treef8ea2fa2bc710b23b29bf05a01db16227fd54303
parent2b0be2015d6501d0f03ea1c6b0c36ffb301ac15a
r600g: write proper output prim type

Vadim's code derived it from the info.mode, but it needs
to be takes from the geometry shader output primitive.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_state_common.c