radeonsi: Allow TES distribution between shader engines.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 12 Apr 2016 18:28:46 +0000 (20:28 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 26 May 2016 20:07:04 +0000 (22:07 +0200)
commit43d7305a405c82e81c9b7b3cc4958169b13777bb
tree00f3205393b0ba9b9897b0e19c0a69869068f7e0
parentf91c85b29b8261ab3f44d292ed2130d4f577d976
radeonsi: Allow TES distribution between shader engines.

The R_028B50_VGT_TESS_DISTRIBUTION value is copied from
amdgpu-pro. Smaller values in the ACCUM fields seem to
decrease the performance advantage from this patch, higher
values don't seem to matter.

v2: Add distribution mode field enums.

Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state_draw.c
src/gallium/drivers/radeonsi/si_state_shaders.c
src/gallium/drivers/radeonsi/sid.h