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

DX12's max_storage_textures_per_shader_stage is set too low #3784

Closed
Elabajaba opened this issue May 19, 2023 · 2 comments
Closed

DX12's max_storage_textures_per_shader_stage is set too low #3784

Elabajaba opened this issue May 19, 2023 · 2 comments

Comments

@Elabajaba
Copy link
Contributor

Description
wgpu::Limits::max_storage_textures_per_shader_stage for DX12 is set to 4, when it should be at least 8, and higher on most hardware.

Extra materials
https://learn.microsoft.com/en-us/windows/win32/direct3d12/hardware-support

Platform
DX12

@cwfitzgerald
Copy link
Member

We can assume FL11_1 for WebGPU purposes. So this can be set to 64 / 2 shader stages / 2 types of UAVs = 16 for both max_storage_textures_per_shader_stage and max_storage_buffers_per_shader_stage

@cwfitzgerald
Copy link
Member

Actually this is a duplicate of #3333

@cwfitzgerald cwfitzgerald closed this as not planned Won't fix, can't repro, duplicate, stale May 19, 2023
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

No branches or pull requests

2 participants