Skip to content

FF151 Relnote: GPUSupportedLimits - new properties + doc - #44151

Merged
pepelsbey merged 1 commit into
mdn:mainfrom
hamishwillee:ff151_gpusupportedlimits
May 18, 2026
Merged

FF151 Relnote: GPUSupportedLimits - new properties + doc#44151
pepelsbey merged 1 commit into
mdn:mainfrom
hamishwillee:ff151_gpusupportedlimits

Conversation

@hamishwillee

Copy link
Copy Markdown
Collaborator

FF151 supports the GPUSupportedLimits properties maxStorageBuffersInFragmentStage, maxStorageBuffersInVertexStage, maxStorageTexturesInFragmentStage,maxStorageTexturesInVertexStage

This adds a release note and updates the docs to list the new properties, their default values, and use a more template-like format.

Related work can be tracked in #43966

@hamishwillee
hamishwillee requested review from a team as code owners May 18, 2026 04:30
@hamishwillee
hamishwillee requested review from chrisdavidmills and pepelsbey and removed request for a team May 18, 2026 04:30
@github-actions github-actions Bot added Content:WebAPI Web API docs Content:Firefox Content in the Mozilla/Firefox subtree size/s [PR only] 6-50 LoC changed labels May 18, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Preview URLs (2 pages)

External URLs (1)

URL: /en-US/docs/Mozilla/Firefox/Releases/151
Title: Firefox 151 release notes for developers (Beta)


In the following code we query the `GPUAdapter.limits` value of `maxBindGroups` to see if it is equal to or greater than 6. Our theoretical example app ideally needs 6 bind groups, so if the returned value is >= 6, we add a maximum limit of 6 to the `requiredLimits` object. We then request a device with that limit requirement using {{domxref("GPUAdapter.requestDevice()")}}:
In the following code we query the `GPUAdapter.limits` value of `maxBindGroups` to see if it is equal to or greater than 6.
Our theoretical example app ideally needs 6 bind groups, so if the returned value is >= 6, we add a maximum limit of 6 to the `requiredLimits` object.

@pepelsbey pepelsbey May 18, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Our theoretical example app ideally needs 6 bind groups, so if the returned value is >= 6, we add a maximum limit of 6 to the `requiredLimits` object.
Our theoretical example app ideally needs 6 bind groups, so if the returned value is greater than or equal to 6, we add a maximum limit of 6 to the `requiredLimits` object.

@pepelsbey pepelsbey left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks! I would only suggest using words instead of >= (I know it wasn’t your addition, so feel free to disregard).

@chrisdavidmills chrisdavidmills left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pepelsbey
pepelsbey merged commit 082fa6f into mdn:main May 18, 2026
8 checks passed
@hamishwillee
hamishwillee deleted the ff151_gpusupportedlimits branch May 19, 2026 00:04
@hamishwillee

hamishwillee commented May 19, 2026

Copy link
Copy Markdown
Collaborator Author

Looks good, thanks! I would only suggest using words instead of >= (I know it wasn’t your addition, so feel free to disregard).

Thanks @pepelsbey - you merged before I could comment on this.
I always accept changes that I think are are "no worse" than the existing text. So if you're reviewing stuff in future and you are sure you would prefer text updates like this, I am more than happy for you just to self-accept them befpre merging.

FWIW this is definitely no worse, though I personally find the shorthand of mathematical symbols easier to read.

Also thanks for the review @chrisdavidmills

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:Firefox Content in the Mozilla/Firefox subtree Content:WebAPI Web API docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants