grvk icon indicating copy to clipboard operation
grvk copied to clipboard

Use an offset buffer for typed memory views

Open libcg opened this issue 3 years ago • 0 comments

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.

libcg avatar Jul 20 '22 06:07 libcg