driver: sync RA after texture cache flush
driver: trivial command stream optimizations

Submit shader code, uniforms in one go.
Only mark TS state dirty if clear color changed.