max_sampled_texture_limit on metal is too low #2898
Labels
area: performance
How fast things go
backend: metal
Issues with Metal
type: enhancement
New feature or request
Description
According to https://developer.apple.com/metal/Metal-Feature-Set-Tables.pdf the limit for "Maximum number of textures you can access, per stage, from an argument buffer" is 1M on my device (M1 Pro, so Apple7 in the pdf). However wgpu has a hardcoded limit (on metal) of 16 max_sampled_textures_per_shader_stage.
I would like to make a TextureViewArray binding with more than 16 items.
Expected vs observed behavior
I get limits that are lower than possible according to the Apple's specs.
Platform
wgpu master on metal on m1 pro
The text was updated successfully, but these errors were encountered: