mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-27 12:14:10 +08:00
nil: Use D3D sample modes by default
Only the D3D modes work with RASTER_SAMPLES_MODE or with variable shading rates. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31585>
This commit is contained in:
parent
e14b4bcb88
commit
8f1697b12d
@ -49,9 +49,9 @@ impl SampleLayout {
|
||||
pub fn choose_sample_layout(samples: u32) -> SampleLayout {
|
||||
match samples {
|
||||
1 => SampleLayout::_1x1,
|
||||
2 => SampleLayout::_2x1,
|
||||
2 => SampleLayout::_2x1D3d,
|
||||
4 => SampleLayout::_2x2,
|
||||
8 => SampleLayout::_4x2,
|
||||
8 => SampleLayout::_4x2D3d,
|
||||
16 => SampleLayout::_4x4,
|
||||
_ => SampleLayout::Invalid,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user