Skip to content

[breaking] Remove return value from wgpuInstanceGetWGSLLanguageFeatures#554

Merged
kainino0x merged 1 commit into
webgpu-native:mainfrom
kainino0x:wgsllanguagefeatures-return
Jul 11, 2025
Merged

[breaking] Remove return value from wgpuInstanceGetWGSLLanguageFeatures#554
kainino0x merged 1 commit into
webgpu-native:mainfrom
kainino0x:wgsllanguagefeatures-return

Conversation

@kainino0x
Copy link
Copy Markdown
Collaborator

This method has no error conditions, so it should return void like wgpuAdapter/DeviceGetFeatures and wgpuGetInstanceFeatures.

This method has no error conditions, so it should return void like
wgpuAdapter/DeviceGetFeatures and wgpuGetInstanceFeatures.
@kainino0x kainino0x requested a review from cwfitzgerald July 11, 2025 19:47
@kainino0x
Copy link
Copy Markdown
Collaborator Author

I don't think this will affect anyone other than Dawn but feel free if you have any comments @cwfitzgerald

@kainino0x kainino0x merged commit c8b371d into webgpu-native:main Jul 11, 2025
5 checks passed
@kainino0x kainino0x deleted the wgsllanguagefeatures-return branch July 11, 2025 19:47
copybara-service Bot pushed a commit to google/dawn that referenced this pull request Jul 12, 2025
This method just returns an array, it doesn't take an extensible struct.
So it's infallible like wgpuAdapter/DeviceGetFeatures and
wgpuGetInstanceFeatures and should return void.

Corresponding upstream PR:
webgpu-native/webgpu-headers#554

Fixed: 429178774
Change-Id: Ibf21e2db11a1172be8a8d9271db3c6a282f0bc00
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/252256
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Reviewed-by: Loko Kung <lokokung@google.com>
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.

2 participants