r600g: rework rasterizer discard for evergreen
authorMarek Olšák <maraeo@gmail.com>
Fri, 24 Feb 2012 20:26:37 +0000 (21:26 +0100)
committerMarek Olšák <maraeo@gmail.com>
Mon, 5 Mar 2012 13:22:20 +0000 (14:22 +0100)
commit734792e83fdc526623d8fe0a60479648c936bd53
tree4af1c851e9e25d481af89fd7bae5eb284534dc13
parentca78a47b056b5a4589933492db364f6e418abb0f
r600g: rework rasterizer discard for evergreen

Implement it right using STRMOUT_CONFIG.RAST_STREAM. This fixes rasterizer
discard with points and lines.

This also adds another derived state. It's a combination of rasterizer discard
and streamout enable.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/r600/evergreen_hw_context.c
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_hw_context.c
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_state_common.c