ID 536645 - OCIO with a low LUT sample size calculated incorrectly in the Viewer when the GPU is toggled on

Follow

Problem summary
OCIO with a low LUT sample size calculated incorrectly in the Viewer when the GPU is toggled on
 
Customer reported version
Nuke 13.1v1
 
Customer reported platform
CentOS 7
 
Steps to reproduce
 
1) Set your OCIO environment variable to the attached OCIO file and open Nuke.

2) Go to File > Open Comp... and open the attached Nuke script which contains a Read node with 2 Views setup for each LUT, View_1 has 12 samples and View_2 has 64000 samples. 

3) Zoom the Viewer in on the orange Kodak logo in the bottom right of the Viewer.
 
4) Open the Viewer properties bin, set the view transform to View_1, set the gamma to 4 and toggle the use GPU for viewer when possible option on and off
 
5) In the Viewer properties bin, change the view to transform to View_2, set the gamma to 4 and toggle the use GPU for viewer when possible option on and off


 
Expected behaviour
For the Viewer to display the pixels behind the Kodak logo
 
Actual behaviour
The Viewer displays the image without the pixels behind the Kodak symbol with the GPU option toggled on
 
Workaround
Unknown.
 
Reproduced by support
This bug has been reproduced in:
Nuke 14.0v1 - Windows 10 - macOS 12.6 - CentOS 7
Nuke 13.2v1 - Windows 10 - macOS 12.6 - CentOS 7
Nuke 13.1v1 - Windows 10 - macOS 12.6 - CentOS 7
 
Unable to reproduce bug in:
Nuke 13.0v10 - Windows 10 - macOS 12.6 - CentOS 7
 
Earliest version tested
Nuke 13.0v10 - This issue doesn't appear in this version and has regressed
 

    We're sorry to hear that

    Please tell us why