bevy/crates/bevy_core_pipeline/src
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
..
clear_pass_driver.rs Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00
clear_pass.rs Make get_resource (and friends) infallible (#4047) 2022-02-27 22:37:18 +00:00
lib.rs Reuse texture when resolving multiple passes (#3552) 2022-04-12 19:27:30 +00:00
main_pass_2d.rs Make get_resource (and friends) infallible (#4047) 2022-02-27 22:37:18 +00:00
main_pass_3d.rs Reuse texture when resolving multiple passes (#3552) 2022-04-12 19:27:30 +00:00
main_pass_driver.rs use marker components for cameras instead of name strings (#3635) 2022-03-12 00:41:06 +00:00