Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make WGPURenderPassDepthStencilAttachment extensible #406

Merged
merged 2 commits into from
Nov 14, 2024

Conversation

kainino0x
Copy link
Collaborator

@kainino0x kainino0x commented Nov 12, 2024

WGPURenderPassColorAttachment is already extensible, this should be too.

Issue: None, I think @Kangz found this while we were reviewing the header.
(dawn bug https://crbug.com/378514256)

WGPURenderPassColorAttachment is already extensible.
@kainino0x kainino0x added the !discuss Needs discussion (at meeting or online) label Nov 12, 2024
@kainino0x kainino0x requested a review from lokokung November 12, 2024 02:14
@kainino0x
Copy link
Collaborator Author

Actually it's not a gimme that this should be extensible. WGPURenderPassColorAttachment is in an array so it's really annoying to extend otherwise. WGPURenderPassDepthStencilAttachment is optional (behind a pointer) but not in an array.

I still think it makes sense to make it extensible though.

@kainino0x kainino0x added the extensibility Adding features without breaking API changes label Nov 12, 2024
@kainino0x kainino0x enabled auto-merge (squash) November 14, 2024 20:54
@kainino0x kainino0x disabled auto-merge November 14, 2024 20:54
@kainino0x kainino0x enabled auto-merge (squash) November 14, 2024 20:54
@kainino0x
Copy link
Collaborator Author

Merging tentatively but keeping !discuss label.

@kainino0x kainino0x merged commit 80ea39e into webgpu-native:main Nov 14, 2024
5 checks passed
@kainino0x kainino0x deleted the rpdsa branch November 14, 2024 20:55
@kainino0x
Copy link
Collaborator Author

Nov 21 meeting:

  • This change is OK

@kainino0x kainino0x removed the !discuss Needs discussion (at meeting or online) label Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extensibility Adding features without breaking API changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants