mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-16 08:27:05 +00:00
Remove unnecessary getters from dawn_native::Instance.
As part of moving to webgpu.h's version of the Instance, the setters will be replaced with a descriptor, and getters don't usually exists for things set with descriptors (except getBindGroupLayout). BUG=dawn:22 Change-Id: I05be8ebf241b33d019d521e40bfef8e49cdab07d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/14540 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
97fb51f4af
commit
77fd4750ae
@@ -140,14 +140,11 @@ namespace dawn_native {
|
||||
|
||||
// Enable backend's validation layers if it has.
|
||||
void EnableBackendValidation(bool enableBackendValidation);
|
||||
bool IsBackendValidationEnabled() const;
|
||||
|
||||
// Enable debug capture on Dawn startup
|
||||
void EnableBeginCaptureOnStartup(bool beginCaptureOnStartup);
|
||||
bool IsBeginCaptureOnStartupEnabled() const;
|
||||
|
||||
void SetPlatform(dawn_platform::Platform* platform);
|
||||
dawn_platform::Platform* GetPlatform() const;
|
||||
|
||||
private:
|
||||
InstanceBase* mImpl = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user