How to set some render target as a pixel shader's input?

I use compute shader solve all problem , you can try it