Aeva / dream_machine

Aeva's Dream Machine ✨
Apache License 2.0
3 stars 0 forks source link

Explicit Render Target Clearing #1

Open Aeva opened 4 years ago

Aeva commented 4 years ago

Right now the generated code just arbitrarily clears the back buffer at the beginning of a new frame, which is not great for a variety of reasons. Also there is no mechanism for clearing other render targets which is even more not great.

I'm thinking of changing this so that pipeline definitions just declare which inputs need clearing and to what color, and the clears are issued as late as possible.