Open Bug 1873039 Opened 6 months ago Updated 4 months ago

WebGPU: ASTC formats are not supported

Categories

(Core :: Graphics: WebGPU, defect, P2)

defect

Tracking

()

People

(Reporter: filip, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0

Steps to reproduce:

Called GPUDevice.createTexture with a format of 'astc-8x8-unorm'

Actual results:

Uncaught TypeError: GPUDevice.createTexture: 'astc-8x8-unorm' (value of 'format' member of GPUTextureDescriptor) is not a valid value for enumeration GPUTextureFormat.

Expected results:

ASTC formats supported if texture-compression-astc was available and enabled.

Pretty sure ASTC being missing from here is the issue: https://github.com/mozilla/gecko-dev/blob/master/dom/webidl/WebGPU.webidl#L368

Severity: -- → S3

I would consider this a blocker for Mac as well: https://bugzilla.mozilla.org/show_bug.cgi?id=1839761, since Apple Silicon app often rely on ASTC to share code with iOS due to using the same general architecture.

filip: RE: iOS: Unless something has changed very recently, the Firefox app on iOS currently uses WebKit for its browser engine, and not Gecko, due to . That specific platform's support is not something we will be able to directly resolve until that does change. 🫤

I do hope it will change soon, though! Mozilla is very interested in using Gecko on iOS.🤞🏻💦

Blocks: webgpu-v1
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P2

Ah right I was so into this that I forgot haha. This does apply to Apple Silicon Macs though!

You need to log in before you can comment on or make changes to this bug.