shadow$provide.module$node_modules$pixi_DOT_js$lib$utils$browser$isWebGPUSupported = function(global, require, module, exports) { var adapter = require("module$node_modules$pixi_DOT_js$lib$environment$adapter"); "use strict"; let _isWebGPUSupported; exports.isWebGPUSupported = async function(options = {}) { return void 0 !== _isWebGPUSupported ? _isWebGPUSupported : _isWebGPUSupported = await (async() => { const gpu = adapter.DOMAdapter.get().getNavigator().gpu; if (!gpu) { return !1; } try { return await (await gpu.requestAdapter(options)).requestDevice(), !0; } catch (_e) { return !1; } })(); }; }; //# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$utils$browser$isWebGPUSupported.js.map