Ver Fonte

vk_pipeline_cache: Fix ReleaseContents order

ReinUsesLisp há 5 anos atrás
pai
commit
d40faa1db0
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      src/video_core/renderer_vulkan/vk_pipeline_cache.h

+ 2 - 2
src/video_core/renderer_vulkan/vk_pipeline_cache.h

@@ -111,9 +111,9 @@ struct ShaderInfo {
 
 struct ShaderPools {
     void ReleaseContents() {
-        inst.ReleaseContents();
-        block.ReleaseContents();
         flow_block.ReleaseContents();
+        block.ReleaseContents();
+        inst.ReleaseContents();
     }
 
     Shader::ObjectPool<Shader::IR::Inst> inst;