Revert "Add workaround for ATI cards."

This reverts commit d88a87ab59f7fa6f5a5bcb98310b1d90e0ad6557.