mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 00:50:10 +01:00
nil: cleanup derelict allow(dead_code) annotations
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38807>
This commit is contained in:
parent
6b9524f864
commit
3584bac0b2
3 changed files with 0 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -118,7 +118,6 @@ impl GOBType {
|
|||
}
|
||||
|
||||
#[repr(u8)]
|
||||
#[allow(dead_code)]
|
||||
#[derive(Clone, Copy, Eq, PartialEq)]
|
||||
pub enum CompressionType {
|
||||
None = 0,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue