1 2 3 4 5 6 7 8 9 10 11 12 13
pub mod context; pub mod shaders; pub use context::GpuContext; use bytemuck::{Pod, Zeroable}; /// GPU Affine Point (x, y coordinates in 32-bit limbs) #[repr(C)] #[derive(Clone, Copy, Debug, Pod, Zeroable)] pub struct GpuAffinePoint { pub x: [u32; 8], pub y: [u32; 8], }