Explorar o código

vk_pipeline_cache: Fix ReleaseContents order

ReinUsesLisp %!s(int64=5) %!d(string=hai) anos
pai
achega
d40faa1db0
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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;