Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vulkan/gpu: properly clamp vulkan buffer sizes
Avoids triggering assertions added by 3bd1c97. This is not a very elegant solution, by the way. Actually, it would be better to query the maximum buffer size specifically for use as UBOs etc, e.g. by allocating a test buffer and querying the driver for its allowed memory types, then looking at only those memory types.
- Loading branch information