mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 10:49:14 +00:00
Factor out common cache testing code.
- To be used for pipeline cache testing. - Plumbs overriding the platform to the adapters for testing. - Restructures build a little bit so that the test infrastructure can have full access to dawn native internals. Also differentiates end2end and white_box a bit more to make it clear that end2end should not have access to dawn native internals. Bug: dawn:549, dawn:1374 Change-Id: Ibcc6c44a116c7967ee2317c74409f613e896eb0a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/86841 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Loko Kung <lokokung@google.com>
This commit is contained in:
@@ -164,6 +164,7 @@ namespace dawn::native {
|
||||
// Enable debug capture on Dawn startup
|
||||
void EnableBeginCaptureOnStartup(bool beginCaptureOnStartup);
|
||||
|
||||
// TODO(dawn:1374) Deprecate this once it is passed via the descriptor.
|
||||
void SetPlatform(dawn::platform::Platform* platform);
|
||||
|
||||
// Returns the underlying WGPUInstance object.
|
||||
|
||||
Reference in New Issue
Block a user