pub const D3DHAL_MAX_RSTATES: u32 = 256u32;