State:Closed|icon_bug|icon_nuke|database:public|Resolution:Fixed|TargetRelease:14.0v4|BugID:511559|
Problem summary
Fetching a sample value using square brackets [#] BlinkScript fails to compile on the GPU
It compiles correctly on the CPU
Customer reported version
nuke.13.2v1
Customer reported platform
windows10
Steps to reproduce
1) Open Nuke and create a BlinkScrip node
2) In the Kernel Source, replace the code with the following BlinkScript script code:
kernel exampleKernel : ImageComputationKernel<ePixelWise> { Image<eRead, eAccessRandom, eEdgeConstant> input; // sorting Image<eWrite> dst; // the output image void process(int2 pos) { float val = 0.f; val = input(1, 1)[0]; dst() = val; } }; 

val = input(1, 1, 0);Or use the CPU, and not the GPU for your BlinkScript nodeWe're sorry to hear that
Please tell us why