mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 05:30:11 +01: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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue