Function
msaa_attachment
(
targets: &'a MsaaTargets,
load: LoadOp<Color>,
)
Source from the content-addressed store, hash-verified
| 53 | width, |
| 54 | height, |
| 55 | depth_or_array_layers: 1, |
| 56 | }, |
| 57 | mip_level_count: 1, |
| 58 | sample_count, |
| 59 | dimension: TextureDimension::D2, |
| 60 | format, |
| 61 | usage, |
| 62 | view_formats: &[], |
| 63 | }) |
| 64 | } |
| 65 | |
| 66 | fn msaa_attachment<'a>( |
| 67 | targets: &'a MsaaTargets, |
| 68 | load: LoadOp<Color>, |
| 69 | ) -> RenderPassColorAttachment<'a> { |
| 70 | RenderPassColorAttachment { |
| 71 | view: &targets.msaa_view, |
Tested by
no test coverage detected