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