73 lines
1.3 KiB
Plaintext
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;
|
|
}
|
|
}
|
|
}
|
|
}
|