All of the samples in the cal always use the global memory as the output. I try to use dcl_output_generic as the output like the pixel shader. However the result is wrong, and sometimes the program crashed. So I wonder whether the cs doesn't support dcl_output_generic or I have bugs in my code.
Yes, you can't use color buffers in compute shader mode.