Currently, there exist per-resource callbacks for preRead and preWrite.
This allows queueing up transitions etc.
However, it would be useful to have a pre-pass callback that can operate on the context that allows batching the barriers.
Currently, I need to manually call a method to do this in every pass.
There can be arguments for post-pass etc, but I can only find a pre-pass being important at the moment.
Currently, there exist per-resource callbacks for
preReadandpreWrite.This allows queueing up transitions etc.
However, it would be useful to have a pre-pass callback that can operate on the
contextthat allows batching the barriers.Currently, I need to manually call a method to do this in every pass.
There can be arguments for post-pass etc, but I can only find a pre-pass being important at the moment.