radeonsi: rename and precalculate polygon offset states
authorMarek Olšák <marek.olsak@amd.com>
Sat, 29 Aug 2015 23:35:03 +0000 (01:35 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 1 Sep 2015 19:51:14 +0000 (21:51 +0200)
commit0da159ecacbc2dc89e7866679912fdc3e73e20a1
tree7af1da9a24cc445ced85b569f68d0ebb6cb5d171
parent45e549fcbc8c2454e242155f0cf4c21360f0b958
radeonsi: rename and precalculate polygon offset states

one less calloc and state construction while drawing

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state.h