mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
winsys/radeon: sparse buffers will not be supported
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
c2637a17d9
commit
a338f427ac
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue