From dab2a7660a407364a33337327743b56ea9701d9b Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sat, 18 Sep 2010 00:28:06 +1000 Subject: [PATCH] r600g: oops got the use_mem_constant the wrong way around. this fixes evergreen gears again. --- src/gallium/winsys/r600/drm/radeon_ws_bo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2