nil: cleanup derelict allow(dead_code) annotations
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38807>
This commit is contained in:
Eric Engestrom 2025-12-12 08:50:35 +01:00
parent 6b9524f864
commit 3584bac0b2
3 changed files with 0 additions and 3 deletions

View file

@ -219,7 +219,6 @@ impl<U> Offset4D<U> {
}
}
#[allow(dead_code)]
pub fn is_aligned_to(&self, alignment: Extent4D<U>) -> bool {
(self.x % alignment.width) == 0
&& (self.y % alignment.height) == 0

View file

@ -991,7 +991,6 @@ pub enum ViewType {
}
/// An enum describing how an image view will be accessed by the shader.
#[allow(dead_code)]
#[derive(Clone, Debug, Copy, PartialEq)]
#[repr(u8)]
pub enum ViewAccess {

View file

@ -118,7 +118,6 @@ impl GOBType {
}
#[repr(u8)]
#[allow(dead_code)]
#[derive(Clone, Copy, Eq, PartialEq)]
pub enum CompressionType {
None = 0,