示例
WebGPU(Chrome 133)中的新变化
新增了 unorm8x4-bgra 和 1 个组成部分的顶点格式,允许使用未定义值请求未知限制,WGSL 对齐规则发生变化,WGSL 性能因舍弃而提升,等等。
- WebGpu
WebGPU(Chrome 132)中的新变化
纹理视图使用、32 位浮点纹理混合、GPUDevice adapterInfo 属性、使用无效格式配置画布上下文会抛出 JavaScript 错误、过滤纹理上的采样器限制、扩展的子组实验、改进开发者体验、对 16 位归一化纹理格式的实验性支持等。
- WebGpu
WebGPU 的新变化 (Chrome 131)
WGSL 中的剪裁距离、GPUCanvasContext getConfiguration()、点和线基元不得有深度偏差、针对子组的包含扫描内置函数、对多绘制间接的实验性支持、着色器模块编译选项严格数学、移除 GPUAdapter requestAdapterInfo() 等。
- WebGpu
WebGPU 的新变化 (Chrome 128)
使用子群组进行实验,弃用线和点的深度偏差设置,隐藏未捕获的错误开发者工具警告(如果 preventDefault),先进行 WGSL 插值采样,然后执行上述任一操作。
- WebGpu
WebGPU 的新变化 (Chrome 126)
提高了 maxTextureArrayLayers 限制、针对 Vulkan 后端优化了缓冲区上传、缩短了着色器编译时间、提交的命令缓冲区必须是唯一的,以及 Dawn 更新。
- WebGpu
2024 年 I/O 大会 Web AI 总结:为您的下一个 Web 应用打造的新模型、工具和 API
阅读 2024 年 I/O 大会上的 Web AI 总结。了解适用于您的下一个 Web 应用的新模型、工具和 API。
- WebGpu
WebGPU 的新变化 (Chrome 121)
支持 Android 上的 WebGPU、使用 DXC 进行着色器编译、计算和渲染通道中的时间戳查询、着色器模块的默认入口点、支持将 display-p3 作为 GPUExternalTexture 颜色空间、内存堆信息等。
- WebGpu
WebGPU: Troubleshooting tips and fixes
Learn why WebGPU may be disabled or not working in Chrome browser.
- WebGpu
Build an app with WebGPU
Learn how to build an app with WebGPU for the web and specific platforms.
- WebGpu
WebAssembly and WebGPU enhancements for faster Web AI, part 2
Part 2/2. Learn how WebAssembly and WebGPU enhancements improve machine learning performance on the web.
- WebGpu
WebAssembly and WebGPU enhancements for faster Web AI, part 1
Part 1/2. Learn how WebAssembly and WebGPU enhancements improve machine learning performance on the web.
- WebGpu
WebGPU: Unlocking modern GPU access in the browser
Learn how WebGPU unlocks the power of the GPU for faster machine learning performance and better graphics rendering.
- WebGpu
Get started with GPU Compute on the web
This post explores the experimental WebGPU API through examples and helps you get started with performing data-parallel computations using the GPU.
- WebGpu