nuke-colortools
nuke-colortools copied to clipboard
ACES Output Transform Blink won't compile in OpenCL
The Blink versions of the ACES Output Transform (and quite possibly others of your Blink based nodes) won't run on the GPU on my MacBook Pro.
I can fix it by changing the process() function in the kernel to use this additional step:
SampleType(src) input = src();
float3 aces = float3(input.x, input.y, input.z);
Your original code referencing src() directly gives an error.
float3 aces = float3(src().x, src().y, src().z);
This change obviously also needs to be reflected in the final line:
dst() = float4(aces.x, aces.y, aces.z, input.w);