mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-01-03 19:51:53 +01:00
Avoid storing guest shader hash in generated spirv
This accidentally broke VK spec and could harm driver caching.
This commit is contained in:
parent
9e1c9caa36
commit
754a9dfd77
@ -1 +1 @@
|
||||
Subproject commit 46f872d01fff2eb5bac921fc4fccb2305af9bb8e
|
||||
Subproject commit 8cf4dd997193192c6fc8200095fb251759467b9b
|
@ -410,7 +410,7 @@ namespace skyline::gpu {
|
||||
if (program.info.loads.Legacy() || program.info.stores.Legacy())
|
||||
Shader::Maxwell::ConvertLegacyToGeneric(program, runtimeInfo);
|
||||
|
||||
auto spirv{Shader::Backend::SPIRV::EmitSPIRV(profile, runtimeInfo, program, bindings, fmt::format("shader_{:016X}", hash))};
|
||||
auto spirv{Shader::Backend::SPIRV::EmitSPIRV(profile, runtimeInfo, program, bindings)};
|
||||
|
||||
vk::ShaderModuleCreateInfo createInfo{
|
||||
.pCode = spirv.data(),
|
||||
|
Loading…
Reference in New Issue
Block a user