radeonsi: move current_rast_prim to r600_common_context
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sun, 17 Sep 2017 09:10:04 +0000 (11:10 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 2 Oct 2017 13:07:43 +0000 (15:07 +0200)
commitf86a112b07f01e267828fc255ffd63f223d2d5bb
tree46a59c5191f53ba69020ab0a8f46aaa190756c10
parent6f83085ec08a5fab78bf385ef425493eaefebc1a
radeonsi: move current_rast_prim to r600_common_context

We'll use it in the scissors / clip / guardband state.

v2: avoid a performance regression on r600 when applied to
    (pre-fork) stable branches

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeon/r600_pipe_common.c
src/gallium/drivers/radeon/r600_pipe_common.h
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_state_draw.c
src/gallium/drivers/radeonsi/si_state_shaders.c