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

[WebGPU] Incorrect default value for GPUPrimitiveState.topology #14074

Conversation

tadeuzagallo
Copy link
Member

@tadeuzagallo tadeuzagallo commented May 19, 2023

3aa8c01

[WebGPU] Incorrect default value for GPUPrimitiveState.topology
https://bugs.webkit.org/show_bug.cgi?id=257024
rdar://109564272

Reviewed by Myles C. Maxfield.

Although the IDL has the correct default value, while converting between
PAL::WebGPU::RenderPipelineDescriptor and WGPURenderPipelineDescriptor,
we set the topology to `point-list` when not explicitly specified.

* Source/WebCore/PAL/pal/graphics/WebGPU/Impl/WebGPUDeviceImpl.cpp:
(PAL::WebGPU::convertToBacking):

Canonical link: https://commits.webkit.org/264318@main

0695377

Misc iOS, tvOS & watchOS macOS Linux Windows
βœ… πŸ§ͺ style βœ… πŸ›  ios βœ… πŸ›  mac βœ… πŸ›  wpe βœ… πŸ›  wincairo
βœ… πŸ§ͺ bindings βœ… πŸ›  ios-sim βœ… πŸ›  mac-AS-debug βœ… πŸ§ͺ wpe-wk2
βœ… πŸ§ͺ webkitperl βœ… πŸ§ͺ ios-wk2 βœ… πŸ§ͺ api-mac βœ… πŸ›  gtk
βœ… πŸ§ͺ ios-wk2-wpt βœ… πŸ§ͺ mac-wk1   πŸ§ͺ gtk-wk2
  πŸ§ͺ api-ios βœ… πŸ§ͺ mac-wk2 βœ… πŸ§ͺ api-gtk
βœ… πŸ›  tv   πŸ§ͺ mac-AS-debug-wk2
βœ… πŸ›  tv-sim
❌ πŸ›  πŸ§ͺ merge βœ… πŸ›  watch
βœ… πŸ›  watch-sim

@tadeuzagallo tadeuzagallo self-assigned this May 19, 2023
@tadeuzagallo tadeuzagallo added the WebGPU For bugs in WebGPU label May 19, 2023
@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label May 19, 2023
@tadeuzagallo tadeuzagallo added merge-queue Applied to send a pull request to merge-queue and removed merging-blocked Applied to prevent a change from being merged labels May 22, 2023
@tadeuzagallo tadeuzagallo force-pushed the eng/WebGPU-Incorrect-default-value-for-GPUPrimitiveState-topology branch from 9cc9e0e to 0695377 Compare May 22, 2023 07:15
@tadeuzagallo tadeuzagallo added merge-queue Applied to send a pull request to merge-queue and removed merge-queue Applied to send a pull request to merge-queue labels May 22, 2023
@webkit-commit-queue webkit-commit-queue force-pushed the eng/WebGPU-Incorrect-default-value-for-GPUPrimitiveState-topology branch from 0695377 to e51cf6c Compare May 22, 2023 08:31
https://bugs.webkit.org/show_bug.cgi?id=257024
rdar://109564272

Reviewed by Myles C. Maxfield.

Although the IDL has the correct default value, while converting between
PAL::WebGPU::RenderPipelineDescriptor and WGPURenderPipelineDescriptor,
we set the topology to `point-list` when not explicitly specified.

* Source/WebCore/PAL/pal/graphics/WebGPU/Impl/WebGPUDeviceImpl.cpp:
(PAL::WebGPU::convertToBacking):

Canonical link: https://commits.webkit.org/264318@main
@webkit-commit-queue webkit-commit-queue force-pushed the eng/WebGPU-Incorrect-default-value-for-GPUPrimitiveState-topology branch from e51cf6c to 3aa8c01 Compare May 22, 2023 08:34
@webkit-commit-queue
Copy link
Collaborator

Committed 264318@main (3aa8c01): https://commits.webkit.org/264318@main

Reviewed commits have been landed. Closing PR #14074 and removing active labels.

@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label May 22, 2023
@webkit-commit-queue webkit-commit-queue merged commit 3aa8c01 into WebKit:main May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WebGPU For bugs in WebGPU
Projects
None yet
5 participants