Explorar el Código

vk_pipeline_cache: Fix ReleaseContents order

ReinUsesLisp hace 5 años
padre
commit
d40faa1db0
Se han modificado 1 ficheros con 2 adiciones y 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;