State:Closed|icon_bug|icon_nuke|database:public|Resolution:Fixed|BugID:431761|TargetRelease:12.1v3|
Problem summary
The cross() function does not iterate when used in a Blink script node.
Customer reported version
nuke.12.1v1
Customer reported platform
windows10
Steps to reproduce
1) In Nuke, copy/paste the following Blink script node:
set cut_paste_input [stack 0]
version 12.1 v2
BlinkScript {
inputs 0
recompileCount 33
ProgramGroup 1
KernelDescription "2 \"CrossKernel\" iterate pixelWise 8eeb49cf5a2ce2846f54195e924c0646d6fcc6e46c82dfd739ef1a9631015073 1 \"dst\" Write Point 0 0 0"
kernelSource "kernel CrossKernel : ImageComputationKernel<ePixelWise>\n\{\n Image<eWrite> dst; // the output image\n\n void process() \{\n float3 a = float3(1.0f,2.0f,3.0f);\n float3 b = float3(4.0f,5.0f,6.0f);\n float3 c = cross(a,b);\n\n dst() = float4(1.0f,2.0f,3.0f,4.0f);\n \}\n\};\n"
rebuild ""
rebuild_finalise ""
name BlinkScript3
selected true
xpos -12
ypos -217
}
2) In the Blink script Properties, compile the script and observe any errors.
Expected behavior
The Blink script should compile without error.
Actual behavior
The Blink script gives an error of "Error compiling kernel for GPU."
Workaround
There is no available workaround at this time.
Reproduced by Support in
Nuke 12.1v2 - Windows 10
Nuke 12.1v1 - Windows 10 - regression
Unable to reproduce bug in:
Nuke 12.0v6 - Windows 10
Earliest version tested
Nuke 12.0v6 - This issue doesn't appear in this version and has regressed
We're sorry to hear that
Please tell us why