Fixed shader errors on NVIDIA cards