https://bugs.winehq.org/show_bug.cgi?id=46470
--- Comment #45 from Sveinar Søpler cybermax@dexter.no --- Created attachment 71625 --> https://bugs.winehq.org/attachment.cgi?id=71625 OpenCL stubs
Afaik DAZ uses its own "opencl loader .dll" in the DAZ installed folder, and even tho DAZ sais it only requires OpenCL 1.2, it might load system opencl.dll checking for export symbols > 1.2, and fail if it is not found.
The reason for concluding this is that after reverting ref. to bug #52389, i added stubs to wine's opencl.spec file up-to what i found when comparing with Win10 OpenCL Platform 3.0 (/windows/system32/opencl.dll), and my device was then detected and used in DAZ.
I will test this further once bug #52389 is resolved (i have seen the PR posted, and if its not upstreamed by the time i get home, i will test that).
Does it sound too far-fetched that DAZ's loader somehow loads symbols from the system opencl.dll and only pass this if certain symbol is found? The opencl.dll in windows system folders are from Khronos, and i think i read someplace that this gets updated by Windows update automatically regardless of drivers installed as this is kind of the "OpenCL ICD loader" for windows.