mirror of
https://github.com/godotengine/godot
synced 2024-09-05 20:39:54 +00:00
![]() * Added an extra stage before compiling shader, which is generating a binary blob. * On Vulkan, this allows caching the SPIRV reflection information, which is expensive to parse. * On other (future) RenderingDevices, it allows caching converted binary data, such as DXIL or MSL. This PR makes the shader cache include the reflection information, hence editor startup times are significantly improved. I tested this well and it appears to work, and I added a lot of consistency checks, but because it includes writing and reading binary information, rare bugs may pop up, so be aware. There was not much of a choice for storing the reflection information, given shaders can be a lot, take a lot of space and take time to parse. |
||
---|---|---|
.. | ||
config.py | ||
lightmapper_rd.cpp | ||
lightmapper_rd.h | ||
lm_blendseams.glsl | ||
lm_common_inc.glsl | ||
lm_compute.glsl | ||
lm_raster.glsl | ||
register_types.cpp | ||
register_types.h | ||
SCsub |