Hi,
Is it OK to freely create samplers?
I'm not really used to using them and it feels kind of overkillish having a sampler per texture when it's there's likely to ever be a handful of unique samplers.
There's no way to 'indirectly' select a group or binding (or IS there?!?) at shader execution time so I have to use texture/sampler pairs in bind groups AFAICT, at least when dealing with samplers I can't determine at compile time, eg: for materials loaded from file.
Should I be caching samplers myself then, using SamplerDescriptor as a key? It seems it would save a lot sampler instances, but perhaps dawn (or drivers) do something like this already and I'm just being paranoid?
Bye!
Mark