Fixed crashing issues on AMD cards
Fixed crashing issues on AMD cards

vtsynergy/OpenDwarfs,opendwarfs/OpenDwarfs,pyrovski/OpenDwarfs,opendwarfs/OpenDwarfs,pyrovski/OpenDwarfs,opendwarfs/OpenDwarfs,pyrovski/OpenDwarfs,vtsynergy/OpenDwarfs,vtsynergy/OpenDwarfs