shadow$provide.module$node_modules$pixi_DOT_js$lib$rendering$renderers$gl$shader$program$preprocessors$ensurePrecision = function(global, require, module, exports) {
  exports.ensurePrecision = function(src, options, isFragment) {
    const maxSupportedPrecision = isFragment ? options.maxSupportedFragmentPrecision : options.maxSupportedVertexPrecision;
    return "precision" !== src.substring(0, 9) ? (options = isFragment ? options.requestedFragmentPrecision : options.requestedVertexPrecision, "highp" === options && "highp" !== maxSupportedPrecision && (options = "mediump"), `precision ${options} float;
${src}`) : "highp" !== maxSupportedPrecision && "precision highp" === src.substring(0, 15) ? src.replace("precision highp", "precision mediump") : src;
  };
};

//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$rendering$renderers$gl$shader$program$preprocessors$ensurePrecision.js.map
