diff options
author | Brian Paul <[email protected]> | 2014-02-14 07:45:23 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-02-14 09:56:55 -0700 |
commit | e4a5a9fd2fdd5b5ae8b85ac743a228f409a21a70 (patch) | |
tree | 673d2bd16d7fb5baedda1ee911a3459ce7bbb42a /src/gallium/winsys/radeon | |
parent | 141e39a8936a7b19fd857a35ea2d200daf1777c7 (diff) |
gallium/pipebuffer: change pb_cache_manager_create() size_factor to float
Requested by Marek.
Reviewed-by: Marek Olšák <[email protected]>
Cc: "10.1" <[email protected]>
Diffstat (limited to 'src/gallium/winsys/radeon')
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c index 6f0e2a57669..44cd0d165fe 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c @@ -645,7 +645,7 @@ PUBLIC struct radeon_winsys *radeon_drm_winsys_create(int fd) ws->kman = radeon_bomgr_create(ws); if (!ws->kman) goto fail; - ws->cman = pb_cache_manager_create(ws->kman, 1000000, 2, 0); + ws->cman = pb_cache_manager_create(ws->kman, 1000000, 2.0f, 0); if (!ws->cman) goto fail; |