Implicit conversion for single values always return zero in GPU device. That's because the conversion data was only stored on the CPU and not uploaded to the GPU, so we ensure it gets uploaded to GPU. Pull Request: https://projects.blender.org/blender/blender/pulls/141658