nuke-colortools icon indicating copy to clipboard operation
nuke-colortools copied to clipboard

ACES Output Transform Blink won't compile in OpenCL

Open nick-shaw opened this issue 3 years ago • 0 comments

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);

nick-shaw avatar Oct 12 '22 12:10 nick-shaw