Parcourir la source

platfromName as a standard

Sebastien Vandenberghe il y a 6 ans
Parent
commit
834dc141b6
1 fichiers modifiés avec 0 ajouts et 4 suppressions
  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";