WGPU, using SurfaceTexture.texture as target for compute shader

Basically the title. Is it possible? Because in the Webgpu JavaScript API this is possible. If I wanted to render from compute shader I would then have to pass the result to render pipeline and render to quad. This is awkward and unnecessary.