Commit 2d457ef
Fix build with clang-21
Error Message:
darktable-5.2.0/data/kernels/soften.cl:33:18: error: use of undeclared identifier 'read_imagef'
33 | float4 pixel = read_imagef(in, sampleri, (int2)(x, y));
| ^~~~~~~~~~~
llvm/llvm-project@c1aebd4
wrapped all the image function declarations in the __IMAGE_SUPPORT__
macro, so darktable needs to define this macro in order to use these
functions.1 parent 0d52b5e commit 2d457ef
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments