soo.. apparently the broadcom VC4+ GPUs (the ones used in raspberry pis and stuff) do not support format-less image writes, sooo.. supporting OpenCL images in #rusticl on that hardware will be a bit "difficult", because it needs to be handled within the kernel...
I should probably check out how other drivers are handling this, because either I'm missing something here or some other vendors are kinda in the same situation (not for all hardware, probably just older GPUs).
And by "handled within the kernel", you mean like a big switch to execute the right thing depending on format ?
I guess you know at invocation time the image fmt so you could adapt the program at that time. I'd assume a lot of kernel are always run with the same types as input. But not sure if that's something that fits in the current "infrastructure".
@karolherbst Mesa3D is big enough to distros do the same. But before next release, I would aim to enable it by default with some drivers, so distros have more motivation to include #Rusticl
@darktable yeah, so I've heard 🙃 But my main motivation here would be to get more testing, especially while mesa is still in RC, to fix things before they hit the release.
But yeah.. I've just fixed another bug hit with Darktable this week