mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Disable smolv and change the shader hash when SPIR-V debug info is enabled.
This commit is contained in:
parent
4ebf67c12d
commit
e137c882c0
5 changed files with 71 additions and 50 deletions
|
|
@ -103,6 +103,11 @@ bool ShaderBakerExportPlugin::_begin_customize_resources(const Ref<EditorExportP
|
|||
return false;
|
||||
}
|
||||
|
||||
if (Engine::get_singleton()->is_generate_spirv_debug_info_enabled()) {
|
||||
WARN_PRINT("Shader baker can't generate a compatible shader when run with --generate-spirv-debug-info. Restart the editor without this argument if you want to bake shaders.");
|
||||
return false;
|
||||
}
|
||||
|
||||
shader_cache_platform_name = p_platform->get_os_name();
|
||||
shader_cache_renderer_name = RendererSceneRenderRD::get_singleton()->get_name();
|
||||
tasks_processed = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue