mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-21 02:01:55 +07:00
tty: Name is_ccs variable explicitly
Co-authored-by: Christian Meissl <meissl.christian@gmail.com> Co-authored-by: Scott McKendry <39483124+scottmckendry@users.noreply.github.com>
This commit is contained in:
+4
-2
@@ -1311,7 +1311,7 @@ impl Tty {
|
||||
.iter()
|
||||
.copied()
|
||||
.filter(|format| {
|
||||
!matches!(
|
||||
let is_ccs = matches!(
|
||||
format.modifier,
|
||||
Modifier::I915_y_tiled_ccs
|
||||
// I915_FORMAT_MOD_Yf_TILED_CCS
|
||||
@@ -1326,7 +1326,9 @@ impl Tty {
|
||||
| Modifier::Unrecognized(0x10000000000000b)
|
||||
// I915_FORMAT_MOD_4_TILED_DG2_RC_CCS_CC
|
||||
| Modifier::Unrecognized(0x10000000000000c)
|
||||
)
|
||||
);
|
||||
|
||||
!is_ccs
|
||||
})
|
||||
.collect::<FormatSet>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user