freedreno/a3xx: enable hw primitive-restart
authorRob Clark <robclark@freedesktop.org>
Tue, 9 Sep 2014 15:20:40 +0000 (11:20 -0400)
committerRob Clark <robclark@freedesktop.org>
Tue, 9 Sep 2014 23:42:18 +0000 (19:42 -0400)
commit720cfb6fe9a3dafadf3bc034008f7c5c15973866
tree8bd078f92ca20bebe5f41f2e735965a91686c562
parent564183f39c24c1674fd71df42c83a2e34d1c7291
freedreno/a3xx: enable hw primitive-restart

Since software primitive-restart emulation is going to be removed (and
anyways, mostly seemed to be crash prone in combination with
u_primconvert and oddball scenarios (like PIPE_PRIM_POLYGON with only a
single vertex), might as well do it in hardware (which fortunately
didn't turn out to be too hard to figure out).

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a3xx/fd3_draw.c
src/gallium/drivers/freedreno/a3xx/fd3_emit.c
src/gallium/drivers/freedreno/a3xx/fd3_emit.h
src/gallium/drivers/freedreno/freedreno_screen.c