# WebGPU in Firefox

**URL:** <https://forum.codeselfstudy.com/t/webgpu-in-firefox/2275>\
**Category:** News\
**Tags:** firefox\
**Created:** [April 30, 2020, 9:57pm UTC](https://forum.codeselfstudy.com/t/webgpu-in-firefox/2275 "2020-04-30T21:57:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Josh](https://forum.codeselfstudy.com/user_avatar/forum.codeselfstudy.com/josh/32/4_2.png) [@Josh](https://forum.codeselfstudy.com/u/Josh)\
**Post date:** [April 30, 2020, 9:57pm UTC](https://forum.codeselfstudy.com/t/webgpu-in-firefox/2275/1 "2020-04-30T21:57:44Z")

</div>

> We are excited to bring WebGPU support to Firefox because it will allow richer and more complex graphics applications to run portably in the Web. It will also make the web platform more accessible to teams who mostly target modern native platforms today, thanks to the use of modern concepts and first-class [WASM](https://webassembly.org/) (WebAssembly) support.
> 
> ## API concepts
> 
> WebGPU aims to work on top of modern graphics APIs: [Vulkan](https://www.khronos.org/vulkan/), [D3D12](https://docs.microsoft.com/en-us/windows/win32/direct3d12/directx-12-programming-guide), and [Metal](https://developer.apple.com/metal/). The constructs exposed to the users reflect the basic primitives of these low-level APIs. Let’s walk through the main constructs of WebGPU and explain them in the context of [WebGL](https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API) – the only baseline we have today on the Web.
> 
> ### Separation of concerns
> 
> The first important difference between WebGPU and WebGL is that WebGPU separates resource management, work preparation, and submission to the GPU ([graphics processing unit](https://en.wikipedia.org/wiki/Graphics_processing_unit)). In WebGL, a single context object is responsible for everything, and it contains a lot of associated state. In contrast, WebGPU separates these into multiple different contexts:

Full article:

> **[A Taste of WebGPU in Firefox – Mozilla Hacks - the Web developer blog](https://hacks.mozilla.org/2020/04/experimental-webgpu-in-firefox/)**
>
> WebGPU is an emerging API, designed from the ground up within the W3C, to provide access to the graphics and computing capabilities of hardware on the web.
