浏览代码

platfromName as a standard

Sebastien Vandenberghe 6 年之前
父节点
当前提交
834dc141b6
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      src/Engines/WebGPU/webgpuShaderProcessors.ts

+ 0 - 4
src/Engines/WebGPU/webgpuShaderProcessors.ts

@@ -11,10 +11,6 @@ export class WebGPUShaderProcessor implements IShaderProcessor {
     // preProcessor?: (code: string, defines: string[], isFragment: boolean) => string;
     // postProcessor?: (code: string, defines: string[], isFragment: boolean) => string;
 
-    // public preProcessor(preparedSourceCode: string, defines: string[], isFragment: boolean): string {
-    //     return "#define WEBGPU \n" + preparedSourceCode;
-    // }
-
     public attributeProcessor(attribute: string) {
         return attribute.replace("attribute", "in");
         // const inOut = isFragment ? "in" : "out";