Is there a way to copy a texture from compute shader directly to fragment shader without passing through CPU ?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By shaula

Is there (or will there soon) be a way to write to a buffer/texture in a compute shader and read that same buffer/texture in a fragment shader without copying it through the CPU in between?

:bust_in_silhouette: Reply From: Addmix

I asked a similar question in the development rocket chat concerning mesh data, the response that I was given is that no, it is not currently possible. It was planned for 4.0, but there wasn’t enough time to implement it. I would expect it by 4.1.