wgpu-native
wgpu-native copied to clipboard
Inconsistency in undefined values in requiredLimits
emscripten treats WGPU_LIMIT_U32_UNDEFINED/WGPU_LIMIT_U64_UNDEFINED in limits as them being unset. (reference) dawn does the same (reference) wgpu-native treats 0 instead as them being unset.
I would've prefered 0 instead but it seems like 2 implementations already use WGPU_LIMIT_UXX_UNDEFINED instead so it might be good to also follow so switching implementations becomes more seamless.