You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Disable smolv and change the shader hash when SPIR-V debug info is enabled.
This commit is contained in:
@@ -158,6 +158,8 @@ void ShaderRD::setup(const char *p_vertex_code, const char *p_fragment_code, con
|
||||
tohash.append(p_fragment_code ? p_fragment_code : "");
|
||||
tohash.append("[Compute]");
|
||||
tohash.append(p_compute_code ? p_compute_code : "");
|
||||
tohash.append("[DebugInfo]");
|
||||
tohash.append(Engine::get_singleton()->is_generate_spirv_debug_info_enabled() ? "1" : "0");
|
||||
|
||||
base_sha256 = tohash.as_string().sha256_text();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user