feat: move display transform into frame out
Amp-Thread-ID: https://ampcode.com/threads/T-019f9d91-77c1-7206-a60f-ed6554ce92ab Co-authored-by: Heaust Azure <heaust.azure@gmail.com>
This commit is contained in:
@@ -25,7 +25,6 @@ pub enum ExecutionClass {
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
pub enum FullscreenPolicy {
|
||||
Copy,
|
||||
ToneMap,
|
||||
HdrSameExtent,
|
||||
BloomExtract,
|
||||
BloomComposite,
|
||||
@@ -335,15 +334,6 @@ pub static CONTRACTS: &[Contract] = &[
|
||||
inherently_observable: false,
|
||||
fullscreen_policy: Some(FullscreenPolicy::Copy),
|
||||
},
|
||||
Contract {
|
||||
key: "tone_map",
|
||||
version: 1,
|
||||
execution: ExecutionClass::Render,
|
||||
inputs: FULLSCREEN_COPY_IN,
|
||||
outputs: FULLSCREEN_COPY_OUT,
|
||||
inherently_observable: false,
|
||||
fullscreen_policy: Some(FullscreenPolicy::ToneMap),
|
||||
},
|
||||
Contract {
|
||||
key: "color_balance",
|
||||
version: 1,
|
||||
@@ -418,7 +408,7 @@ pub static CONTRACTS: &[Contract] = &[
|
||||
},
|
||||
Contract {
|
||||
key: "frame_out",
|
||||
version: 1,
|
||||
version: 2,
|
||||
execution: ExecutionClass::Frame,
|
||||
inputs: FRAME_OUT_IN,
|
||||
outputs: NONE_OUT,
|
||||
|
||||
Reference in New Issue
Block a user