r600: don't emit atomic save if we have no atomic counters.
authorDave Airlie <airlied@redhat.com>
Fri, 10 Nov 2017 03:46:19 +0000 (13:46 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 13 Nov 2017 19:40:47 +0000 (05:40 +1000)
commitda31e2c22d72af041a4558b30eb354ff17f000ba
tree8a4317d93fc6c228923b2d3abd0bdfa4aee7bbe5
parent257edb5b9aedc9fc5d5c13eb2f48a0c11d15456f
r600: don't emit atomic save if we have no atomic counters.

Otherwise we end up emitting the fence.

Tested-By: Gert Wollny <gw.fossdev@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/evergreen_state.c