diff options
author | Nicolai Hähnle <[email protected]> | 2017-02-07 17:00:10 +0100 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-04-05 10:37:17 +0200 |
commit | a338f427ac486aeedd2a5a19013ee2550d0ebb1a (patch) | |
tree | 482c96c6946bc9bab7bc86ea199be5640d8237bb /src | |
parent | c2637a17d95e645cc45eb648d03324502ab99748 (diff) |
winsys/radeon: sparse buffers will not be supported
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_drm_bo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c index fe2aa90a0c9..9bbf1b32501 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c @@ -936,6 +936,8 @@ radeon_winsys_bo_create(struct radeon_winsys *rws, struct radeon_bo *bo; unsigned usage = 0, pb_cache_bucket; + assert(!(flags & RADEON_FLAG_SPARSE)); /* not supported */ + /* Only 32-bit sizes are supported. */ if (size > UINT_MAX) return NULL; |