Skip to content
Snippets Groups Projects
Commit 2270ad12 authored by Niklas Haas's avatar Niklas Haas
Browse files

vulkan/gpu: properly clamp vulkan buffer sizes

Avoids triggering assertions added by 3bd1c970.

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.
parent db387b06
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment