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 - skip unsupported device limits when creating device #6263

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

mvaligursky
Copy link
Contributor

@mvaligursky mvaligursky commented Apr 19, 2024

  • related to recent change to request maximum supported limits when creating WebGPU device
  • currently in Chrome Windows, two limits are exposed, but not supported to set them it seem, so skip them to avoid device creation failing. Those are not part of the official spec currently:
DOMException: Failed to execute 'requestDevice' on 'GPUAdapter': The limit "minSubgroupSize" is not recognized.
    at WebgpuGraphicsDevice.initWebGpu (http://localhost:5000/iframe//ENGINE_PATH/platform/graphics/webgpu/webgpu-graphics-device.js:262:43)

@mvaligursky mvaligursky self-assigned this Apr 19, 2024
@mvaligursky mvaligursky added bug area: graphics Graphics related issue labels Apr 19, 2024
@mvaligursky mvaligursky requested a review from a team April 19, 2024 10:26
@mvaligursky mvaligursky merged commit d16765d into main Apr 19, 2024
7 checks passed
@mvaligursky mvaligursky deleted the mv-webgpu-windows branch April 19, 2024 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: graphics Graphics related issue bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants