-
Notifications
You must be signed in to change notification settings - Fork 345
Open
Labels
Milestone
Description
Currently the "auto" layout algorithm makes a few assumptions about what layout to generate, which means if those assumptions are wrong for your application, you're forced to use a explicit layout. At least the following aren't achievable - not sure if I'm missing any:
"non-filtering"samplers (would be partially but not entirely fixed by Changelayout: 'auto'algorithm so it doesn't generate invalid bindGroupLayouts #4952)- and
"unfilterable-float"bindings to go with them
- and
Also the following, but I believe they don't matter because of auto layout exclusivity (EDIT: however they become important with #4957!):
"float"when there are no usages with a sampler (it picks"unfilterable-float")"depth"when the shader type is non-depth (texture_2d<f32>etc.)