diff options
author | Dave Airlie <[email protected]> | 2018-08-07 01:41:20 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-08-21 20:45:38 +0100 |
commit | 32529e60849dd20d167f14cb8542c5798343f0e0 (patch) | |
tree | 91003a038f71084695c86be8b3a889648a282c90 /src/mesa/drivers/dri/i965/brw_defines.h | |
parent | 41d58e20983576212636c11afd6ca25ebd60b68f (diff) |
r600/eg: rework atomic counter emission with flushes
With the current code, we didn't do the space checks prior
to atomic counter setup emission, but we also didn't add
atomic counters to the space check so we could get a flush
later as well.
These flushes would be bad, and lead to problems with
parallel tests. We have to ensure the atomic counter copy in,
draw emits and counter copy out are kept in the same command
submission unit.
This reworks the code to drop some useless masks, make the
counting separate to the emits, and make the space checker
handle atomic counter space.
[airlied: want this in 18.2]
Fixes: 06993e4ee (r600: add support for hw atomic counters. (v3))
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_defines.h')
0 files changed, 0 insertions, 0 deletions