grvk
grvk copied to clipboard
Use an offset buffer for typed memory views
Mantle doesn't have buffer view objects and games like to bind memory views with new offsets all the time, which means we're allocating and freeing VkBufferView objects very frequently, and we can't cache them. Use an offset buffer and do some magic in the shader to avoid this situation.