radeonsi: allocate si_state_rasterizer::pm4_poly_offset only when needed
authorMarek Olšák <marek.olsak@amd.com>
Fri, 9 Jun 2017 17:21:18 +0000 (19:21 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 12 Jun 2017 16:24:37 +0000 (18:24 +0200)
commit7be6186e0cecccd7a64e9ba242f17ddbe588d84a
tree71ca1d02e2c5a1106b704d1bd967098edb10640a
parenta828f5d783d79b3edf377e7b73f331ed67c196b8
radeonsi: allocate si_state_rasterizer::pm4_poly_offset only when needed

Each element has over 700 bytes.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state.h