Expand some bitmask enums to 64-bits? #247
Labels
extensibility
Adding features without breaking API changes
has resolution
Issue is resolved, just needs to be done
Vulkan has had several bitmask enums that they had to expand from 32 bits to 64 bits (by adding version "2" of a bunch of things throughout the API like VkPipelineStageFlags2, vkCmdWriteTimestamp2). We should probably do this early to avoid that kind of thing.
We have 5 of these (in order of likelihood to need more than
3231? bits ever):WGPUBufferUsage
WGPUTextureUsage
WGPUMapMode
WGPUShaderStage (almost certainly not)
WGPUColorWriteMask (definitely not)
Note that with #159 we're planning to remove the Flags typedefs, so all we would do here is change these enums' Force32 value to Force64.
2**63
if we use C enums if they're not guaranteed to be unsigned?)The text was updated successfully, but these errors were encountered: