Skip to content

Conversation

tstellar
Copy link

@tstellar tstellar commented Jul 3, 2025

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.

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.
@TurboGit TurboGit added this to the 5.4 milestone Jul 9, 2025
@TurboGit TurboGit added bugfix pull request fixing a bug priority: high core features are broken and not usable at all, software crashes OpenCL Related to darktable OpenCL code labels Jul 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix pull request fixing a bug OpenCL Related to darktable OpenCL code priority: high core features are broken and not usable at all, software crashes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants