mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 23:56:16 +00:00
Change uint32_t -> size_t in *Enumerate functions
Follows https://github.com/webgpu-native/webgpu-headers/pull/142 Bug: dawn:160 Change-Id: Ic8aa5868bf1a68ae5ff80ce6e5fc0e8d687c34bb Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/75481 Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Austin Eng <enga@chromium.org>
This commit is contained in:
@@ -57,7 +57,7 @@ namespace dawn_native {
|
||||
bool IsEnabled(wgpu::FeatureName feature) const;
|
||||
// Returns |count|, the number of features. Writes out all |count| values if |features| is
|
||||
// non-null.
|
||||
uint32_t EnumerateFeatures(wgpu::FeatureName* features) const;
|
||||
size_t EnumerateFeatures(wgpu::FeatureName* features) const;
|
||||
std::vector<const char*> GetEnabledFeatureNames() const;
|
||||
void InitializeDeviceProperties(WGPUDeviceProperties* properties) const;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user