rtengine/assets/test.framegraph
Kevin Trogant 9008d08d9f Chain framegraph semaphores together
Quick RenderDoc check suggests that this works as intended :-)
2024-02-27 14:35:48 +01:00

73 lines
1.3 KiB
Plaintext

render_targets {
color0 {
format B8G8R8A8_SRGB;
width 1024;
height 768;
sample_count 4;
}
swapchain_out {
format SWAPCHAIN;
width SWAPCHAIN;
height SWAPCHAIN;
sample_count 1;
}
depth0 {
format DEPTH24_STENCIL8;
width 1024;
height 768;
sample_count 4;
}
}
passes {
pass0 {
type GRAPHICS;
writes {
color0 {
clear_value {
r 1.0;
g 1.0;
b 1.0;
a 1.0;
}
clear YES;
discard NO;
}
depth0 {
clear_value {
d 0.0;
s 0;
}
clear YES;
discard YES;
}
}
}
pass1 {
type GRAPHICS;
reads {
color0 {
mode SAMPLED;
}
}
writes {
swapchain_out {
clear_value {
r 1.0;
g 0.0;
b 0.0;
a 1.0;
}
clear YES;
discard NO;
}
}
}
}