diff options
author | Vadim Girlin <[email protected]> | 2011-07-15 07:22:20 +0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2011-07-15 15:42:46 -0400 |
commit | ef29bfee031cdab3dbb0f9a79828c4b0d0405991 (patch) | |
tree | ac65f3f819533dc1c1f4e7d7b4321db40d0340ce /src/gallium/winsys/r600/drm/r600d.h | |
parent | cfec000e7514342fd51859906e173ba2d474a55c (diff) |
r600g: fix queries and predication
Use all zpass data for predication instead of the last block only.
Use query buffer as a ring instead of reusing the same area
for each new BeginQuery. All query buffer offsets are in bytes
to simplify offsets math.
Diffstat (limited to 'src/gallium/winsys/r600/drm/r600d.h')
-rw-r--r-- | src/gallium/winsys/r600/drm/r600d.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/winsys/r600/drm/r600d.h b/src/gallium/winsys/r600/drm/r600d.h index 80424818044..4a19dcf8ddf 100644 --- a/src/gallium/winsys/r600/drm/r600d.h +++ b/src/gallium/winsys/r600/drm/r600d.h @@ -114,6 +114,8 @@ #define PRED_OP(x) ((x) << 16) +#define PREDICATION_CONTINUE (1 << 31) + #define PREDICATION_HINT_WAIT (0 << 12) #define PREDICATION_HINT_NOWAIT_DRAW (1 << 12) |