Change AdapterInfo::{device,vendor}
to be u32
instead of usize
#3759
Labels
area: api
Issues related to API surface
good first issue
Good for newcomers
help required
We need community help to make this happen.
type: enhancement
New feature or request
Description
The highest integer width of any platform supported by
wgpu
is fixed. It's also generally not a good idea to rely on platform-specific word sizes for cross-platform fields. Therefore, we should change [AdapterInfo
]'sdevice
andvendor
fields (which correspond to eitheru16
PCI IDs oru32
Vulkan IDs) to beu32
s.Matrix discussion prompting this issue.
Later, we might examine making this more strongly typed (see this discussion in Matrix).
The text was updated successfully, but these errors were encountered: