How to read and write to texture in place in pixel shader?