diff options
author | Marek Olšák <[email protected]> | 2011-09-13 15:01:45 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-09-16 17:25:12 +0200 |
commit | 34f4bd81906d8385eb3e9af721d50e985cb9d7d4 (patch) | |
tree | d858dd6a51bfe4f5a1ca0ced3855e723134320af /src/gallium/winsys/radeon/drm | |
parent | 81c688babe6d2539d580429c3bfdc5fc1729ab0d (diff) |
winsys/radeon: use the cache bufmgr for buffers with PIPE_BIND_CUSTOM
so that we don't abuse PIPE_BIND_VERTEX_BUFFER all the time.
Diffstat (limited to 'src/gallium/winsys/radeon/drm')
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_drm_bo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c index 1dc6eeb4cb0..652d114689b 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c @@ -536,7 +536,7 @@ radeon_winsys_bo_create(struct radeon_winsys *rws, /* Assign a buffer manager. */ if (bind & (PIPE_BIND_VERTEX_BUFFER | PIPE_BIND_INDEX_BUFFER | - PIPE_BIND_CONSTANT_BUFFER)) + PIPE_BIND_CONSTANT_BUFFER | PIPE_BIND_CUSTOM)) provider = ws->cman; else provider = ws->kman; |