Skip to content

Conversation

@kainino0x
Copy link
Contributor

@kainino0x kainino0x commented Dec 3, 2020

I think it's been determined that this API shouldn't consider privacy budgeting in it's design.

  • UAs can still lazily-decide on GPULimits values.
  • UAs can still do bucketing ahead of time, or even based on queries to GPULimits members.
  • Apps can attempt requestDevice without checking limits, if they just want to know if their requested limits are supported.

Exact IDL interface is TBD, but editorial.

Needs more text to be filled out later. Also adds some other TODOs.

See also #489, #495; #1098, #1100.


Preview | Diff

Copy link
Contributor

@Kangz Kangz left a comment

Choose a reason for hiding this comment

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

General approach LGTM, I don't know about the WebIDLisms though.

Copy link
Contributor

@kdashg kdashg left a comment

Choose a reason for hiding this comment

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

It would be ideal if we didn't need to duplicate the limits struct.

@grorg
Copy link
Contributor

grorg commented Dec 7, 2020

Discussed at the 2020-12-07 meeting.

@kainino0x kainino0x requested a review from litherum December 7, 2020 20:42
@kdashg
Copy link
Contributor

kdashg commented Dec 7, 2020

We have conditional consensus to merge this as a way forward, unless we get a negative signal in the next day.

@kainino0x
Copy link
Contributor Author

@grorg any update?

@github-actions
Copy link
Contributor

Previews, as seen at the time of posting this comment:
WebGPU | IDL
WGSL
ed02fbd

@gpuweb gpuweb deleted a comment from github-actions bot Dec 12, 2020
@github-actions
Copy link
Contributor

Previews, as seen at the time of posting this comment:
WebGPU | IDL
WGSL
074f847

@kainino0x kainino0x requested a review from kvark December 15, 2020 22:42
@github-actions
Copy link
Contributor

Previews, as seen at the time of posting this comment:
WebGPU | IDL
WGSL
4410c80

@kainino0x kainino0x changed the title Add interface GPUAdapterLimits; GPUAdapter.limits Add GPUAdapter.limits Dec 15, 2020
@kainino0x kainino0x merged commit 22967dd into gpuweb:main Dec 15, 2020
@kainino0x kainino0x deleted the gpuadapterlimits branch December 15, 2020 23:09
ben-clayton pushed a commit to ben-clayton/gpuweb that referenced this pull request Sep 6, 2022
This PR adds unimplmented stubs for the `atomicLoad` builtin.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants