Skip to content

Commit cf9919c

Browse files
committed
Fix missing correction repr
1 parent 863eb3b commit cf9919c

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

ffi/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,6 @@ pub enum TransformCorrectionType {
300300
SpirvWebgpuTransformCorrectionTypeSplitBindingArray = 4,
301301
}
302302

303-
// TransformCorrectionStatus spirv_webgpu_transform_correction_map_index(uint32_t set, uint32_t binding, TransformCorrectionType** corrections_ptr, uint32_t* correction_count);
304303
#[unsafe(no_mangle)]
305304
pub unsafe extern "C" fn spirv_webgpu_transform_correction_map_index(
306305
correction_map: TransformCorrectionMap,

src/correction.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ use super::*;
44
// A: I don't want to think about it... I will start thinking after a refactor...
55

66
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
7+
#[repr(u16)]
78
pub enum CorrectionType {
89
/// A combined image sampler has been split, a new `sampler` object should be inserted.
910
SplitCombined,

0 commit comments

Comments
 (0)