fix for CS texture decoder
rewrite part of the compute shader texture decoder to make it more "resource conservative"
handle some cases that can cause error  while uploading texture palettes, and reduce upload frequency by testing for palette changes.