cmft
cmft copied to clipboard
Crash with enabled OpenCL in x64 on windows
With this command line: --input "test.hdr" --outputNum 1 --output0params dds,rgba32f,cubemap --filter radiance --dstFaceSize 128 --output0 "out"
I get a crash in processFilterArea() here:
const float dotProduct = vec3Dot(normalPtr, _tapVec);
(cubemapfilter.cpp @ line 817)
Crash does not repro if I add --useOpenCL false. Also does not happen on x86. Seems to be independent of input image I'm using, but if needed I can provide specific images that I was testing with. I'm using windows 10 and visual studio 2015.
Can also run additional tests, make a stack dump or something.
I can reproduce this on Linux with my current setup. I will try it on Windows on first occasion.
I have this same issue. Win10 x64, using cmft as a static library, crashes if I use OpenCL in the radiance filtering call.