diff options
author | Dave Airlie <[email protected]> | 2010-09-18 00:28:06 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2010-09-18 00:28:06 +1000 |
commit | dab2a7660a407364a33337327743b56ea9701d9b (patch) | |
tree | d1d52531aa7da3733dbda59f49b13868231efc64 /src/gallium/winsys | |
parent | d0502297e02074d0b022c1e3e33319829b750a7e (diff) |
r600g: oops got the use_mem_constant the wrong way around.
this fixes evergreen gears again.
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/r600/drm/radeon_ws_bo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/r600/drm/radeon_ws_bo.c b/src/gallium/winsys/r600/drm/radeon_ws_bo.c index ccaedb4777d..8114526a14a 100644 --- a/src/gallium/winsys/r600/drm/radeon_ws_bo.c +++ b/src/gallium/winsys/r600/drm/radeon_ws_bo.c @@ -13,7 +13,7 @@ struct radeon_ws_bo *radeon_ws_bo(struct radeon *radeon, desc.alignment = alignment; desc.usage = usage; - if (radeon->use_mem_constant && (usage & PIPE_BIND_CONSTANT_BUFFER)) { + if (!radeon->use_mem_constant && (usage & PIPE_BIND_CONSTANT_BUFFER)) { man = radeon->mman; } else if (usage & (PIPE_BIND_CONSTANT_BUFFER | PIPE_BIND_VERTEX_BUFFER | PIPE_BIND_INDEX_BUFFER)) man = radeon->cman; |