Prechádzať zdrojové kódy

Fix cache without hash miss

Popov72 4 rokov pred
rodič
commit
0c3184548e

+ 2 - 0
src/Engines/WebGPU/webgpuCacheRenderPipeline.ts

@@ -221,6 +221,8 @@ export class WebGPUCacheRenderPipeline {
             return this._currentRenderPipeline;
         }
 
+        this._isDirty = false;
+
         let hash = this._states.join();
         let pipeline = WebGPUCacheRenderPipeline._Cache[hash];