shadow$provide.module$node_modules$pixi_DOT_js$lib$rendering$high_shader$compileHighShaderToProgram = function(global, require, module, exports) {
  var GlProgram = require("module$node_modules$pixi_DOT_js$lib$rendering$renderers$gl$shader$GlProgram"), GpuProgram = require("module$node_modules$pixi_DOT_js$lib$rendering$renderers$gpu$shader$GpuProgram"), compileHighShader = require("module$node_modules$pixi_DOT_js$lib$rendering$high_shader$compiler$compileHighShader"), defaultProgramTemplate = require("module$node_modules$pixi_DOT_js$lib$rendering$high_shader$defaultProgramTemplate"), globalUniformsBit = require("module$node_modules$pixi_DOT_js$lib$rendering$high_shader$shader_bits$globalUniformsBit");
  "use strict";
  exports.compileHighShaderGlProgram = function({bits, name}) {
    return new GlProgram.GlProgram({name, ...compileHighShader.compileHighShaderGl({template:{vertex:defaultProgramTemplate.vertexGlTemplate, fragment:defaultProgramTemplate.fragmentGlTemplate}, bits:[globalUniformsBit.globalUniformsBitGl, ...bits]})});
  };
  exports.compileHighShaderGpuProgram = function({bits, name}) {
    bits = compileHighShader.compileHighShader({template:{fragment:defaultProgramTemplate.fragmentGPUTemplate, vertex:defaultProgramTemplate.vertexGPUTemplate}, bits:[globalUniformsBit.globalUniformsBit, ...bits]});
    return GpuProgram.GpuProgram.from({name, vertex:{source:bits.vertex, entryPoint:"main"}, fragment:{source:bits.fragment, entryPoint:"main"}});
  };
};

//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$rendering$high_shader$compileHighShaderToProgram.js.map
