mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 12:31:10 +00:00
c028e15943
I got tired of writing the same 13 or so lines of code over and over (it actually put me off experimenting with Vulkan). Thus... QFV_PacketCopyBuffer does the work of handling barriers and a (full packet) copy from the staging buffer to a GPU buffer. QFV_PacketCopyImage does a similar job, but for images. However, it still needs a lot of work, but it does make getting a basic texture onto the GPU much less of a hassle. Both functions should make staging data much less error-prone. |
||
---|---|---|
.. | ||
renderer | ||
targets | ||
Makemodule.am |