render_targets { color0 { format R8G8B8A8_SRGB; width 1024; height 768; sample_count 4; } swapchain_out { format SWAPCHAIN; width SWAPCHAIN; height SWAPCHAIN; sample_count 1; } depth0 { format DEPTH24_STENCIL8; width 512; height 384; sample_count 4; } } passes { pass0 { 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 { reads { color0 { mode SAMPLED; } } writes { swapchain_out { clear NO; discard NO; } } } }