wgpu-native icon indicating copy to clipboard operation
wgpu-native copied to clipboard

Inconsistency in undefined values in requiredLimits

Open guusw opened this issue 2 years ago • 0 comments

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.

guusw avatar Sep 09 '22 11:09 guusw