Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix framegraph clear flags for imported targets
Imported targets always use the imported flags, not the flags that where specified when the target was created. The clear flags should be cleared after they've been used once in case that rendertarget is reused by multiple passes. For e.g. if the clear flag is set, the target will be cleared the first time it is used, but if it's used again, we don't want to clear again, in that case we'll use the "local" flags used when the target was created (as opposed to the imported flags).
- Loading branch information