This patch gives hasvk a huge performance boost. For example, my fps on the DDNet map Tutorial increases from 52 to about 135 with the Vulkan renderer.