mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-27 14:42:07 +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. |
||
---|---|---|
.. | ||
barrier.h | ||
buffer.h | ||
capture.h | ||
command.h | ||
cvars.h | ||
debug.h | ||
descriptor.h | ||
device.h | ||
funclist.h | ||
image.h | ||
instance.h | ||
memory.h | ||
pipeline.h | ||
projection.h | ||
qf_alias.h | ||
qf_bsp.h | ||
qf_compose.h | ||
qf_draw.h | ||
qf_iqm.h | ||
qf_lighting.h | ||
qf_lightmap.h | ||
qf_main.h | ||
qf_matrices.h | ||
qf_model.h | ||
qf_particles.h | ||
qf_sprite.h | ||
qf_texture.h | ||
qf_vid.h | ||
renderpass.h | ||
resource.h | ||
scrap.h | ||
shader.h | ||
staging.h | ||
swapchain.h |