Ver código fonte

Remove circular dependency

Popov72 4 anos atrás
pai
commit
cb6514f367

+ 2 - 1
src/Engines/WebGPU/webgpuShaderProcessors.ts

@@ -4,9 +4,10 @@ import { ShaderProcessingContext } from "../Processors/shaderProcessingOptions";
 import { WebGPUTextureSamplerBindingDescription, WebGPUShaderProcessingContext } from './webgpuShaderProcessingContext';
 import * as WebGPUConstants from './webgpuConstants';
 import { ShaderCodeInliner } from '../Processors/shaderCodeInliner';
-import { dbgShowDebugInliningProcess } from '../webgpuEngine';
 import { Logger } from '../../Misc/logger';
 
+const dbgShowDebugInliningProcess = false;
+
 const _knownUBOs: { [key: string]: { setIndex: number, bindingIndex: number} } = {
     "Scene": { setIndex: 0, bindingIndex: 0 },
     "Light0": { setIndex: 0, bindingIndex: 5 },

+ 0 - 2
src/Engines/webgpuEngine.ts

@@ -50,8 +50,6 @@ const dbgGenerateLogs = true;
 const dbgVerboseLogsForFirstFrames = false;
 const dbgVerboseLogsNumFrames = 10;
 const dbgShowWarningsNotImplemented = false;
-/** @hidden */
-export let dbgShowDebugInliningProcess = false;
 
 /**
  * Options to load the associated Glslang library