be40886521
there's not actually any reason to do these during draw other than wasting cpu cycles, and it has the side benefit of providing a bunch more info for rebinds image resources for gfx shaders need to have their barriers deferred until draw time, however, as it's unknown what layout they'll require until that point due to potentially being bound to multiple descriptor types Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10849>