fixes some kernel/shader issues on Nvidia