-
Notifications
You must be signed in to change notification settings - Fork 88
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
(More) Invalid SPIR-V generated from Darktable / Geekbench 5 kernels #1104
Comments
This is tricky. Our fake pointer casting doesn't work with atomics. So we'd have to prefer the uint type for inference. That's a reasonably large change. This isn't the only time being greedy is detrimental though so it might be worth investigating. Another alternative would be for darktable to use |
I'm seeing a similar validation error with a kernel from Geekbench 5 too (attached):
Build options:
|
#1102 made it possible for many more Darktable kernel source files to be compiled but not all of them yet.
The attached source, compiled with the following options:
produces a SPIR-V module that fails validation with the following message:
source.txt
The text was updated successfully, but these errors were encountered: