Translator: the grammar items drop FPEncoding, which no 8-bit float type names

The native 8-bit float deletion left spv.rs's FPEncoding (Float8E4M3EXT,
Float8E5M2EXT) unused, which clippy refuses (dead code). items.txt drops
the enum and spv.rs is regenerated from SPIRV-Headers vulkan-sdk-1.4.341.0;
the test parser's table.rs regenerates unchanged.

Found by clippy in compile job m3-max-65654.
This commit is contained in:
Anees Iqbal committed 2026-11-22 00:17:21 -08:00
1 parent 5b0909eea6
commit 3f8f9d352d
2 files changed
-11

No files matched your search

-8
View File
@@ -5790,14 +5790,6 @@ impl std::fmt::Debug for Dim {
}
}
/// SPIR-V's `FPEncoding`, by its grammar values.
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
#[repr(u32)]
pub enum FPEncoding {
Float8E4M3EXT = 4214,
Float8E5M2EXT = 4215,
}
/// SPIR-V's `ImageFormat`, by its grammar values.
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
#[repr(u32)]
-3
View File
@@ -97,9 +97,6 @@ values StorageBuffer PhysicalStorageBuffer TaskPayloadWorkgroupEXT
enum Dim
values D1 D2 D3 Cube Buffer SubpassData
enum FPEncoding
values Float8E4M3EXT Float8E5M2EXT
enum ImageFormat
values *