Made shaders compile on Intel HD graphics. There seem to be some strange issues on Intel though.
Fixed some memory synchronization issues I did not have on my card.
Tried to fix some issues on Intel...