venus: cache VkFormatProperties
This is for fossilize-replay which keeps querying for the same formats. This is marked WIP because I haven't checked before / after nubmers.
We also start hitting looong vn_ring_wait_space
. Say the ring buffer can hold 100 vkCreateGraphicsPipelines
, each taking the host driver 50ms to compile. vn_ring_wait_space
waits for 5s instead of 50ms currently because of how vkr_ring_thread
updates the ring head.
Edited by Chia-I Wu