mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-12-12 21:52:32 +00:00
765b61d133
This was one of the biggest reasons I had trouble understanding the bsp display list code, but it turns out it was for dealing with GLES's 16-bit limit on vertex indices. Since vulkan uses 32-bit indices, there's no need for the extra layer of indirection. I'm pretty sure it was that lack of understanding that prevented me from removing it when I first converted the glsl bsp code to vulkan (ie, that 16-bit indices were the only reason for elements_t). It's hard to tell whether the change makes much difference to performance, though it seems it might (noisy stats even over 50 timedemo loops) and the better data localization indicate it should at least be just as good if not better. However, the reason for the change is simplifying the data structures so I can make bsp rendering thread-safe in preparation for rendering shadow maps. |
||
---|---|---|
.. | ||
audio | ||
client | ||
console | ||
gamecode | ||
gib | ||
image | ||
input | ||
models | ||
net | ||
qw | ||
ruamoko | ||
scene | ||
ui | ||
util | ||
video | ||
Makemodule.am |