Explorar o código

Fix cache without hash miss

Popov72 %!s(int64=4) %!d(string=hai) anos
pai
achega
0c3184548e
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/Engines/WebGPU/webgpuCacheRenderPipeline.ts

+ 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];