bevy/crates/bevy_core_pipeline
Dusty DeWeese 5a297d7903 Reuse texture when resolving multiple passes (#3552)
# Objective

Fixes https://github.com/bevyengine/bevy/issues/3499

## Solution

Uses a `HashMap` from `RenderTarget` to sampled textures when preparing `ViewTarget`s to ensure that two passes with the same render target get sampled to the same texture.

This builds on and depends on https://github.com/bevyengine/bevy/pull/3412, so this will be a draft PR until #3412 is merged. All changes for this PR are in the last commit.
2022-04-12 19:27:30 +00:00
..
src Reuse texture when resolving multiple passes (#3552) 2022-04-12 19:27:30 +00:00
Cargo.toml Tracy spans around main 3D passes (#4182) 2022-03-19 12:57:47 +00:00