mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-10 05:57:51 +00:00
Add Debug Label Functionality For D3D12/Vk Buffers & Textures
Adds a generic SetDebugName utility for D3D12 and Vulkan. Passes down debug label set by user for buffers and textures to be labeled by the appropriate backend method. Bug: dawn:840 Change-Id: I7158b537a6e37fdf733645e6830dc33833ee683e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/61588 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Brandon Jones (Intel) <brandon1.jones@intel.com>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
ddd0a0a856
commit
c95e574ce0
@@ -248,6 +248,8 @@ namespace dawn_native {
|
||||
ExternalImageExportInfo(ExternalImageType type);
|
||||
};
|
||||
|
||||
DAWN_NATIVE_EXPORT const char* GetObjectLabelForTesting(void* objectHandle);
|
||||
|
||||
} // namespace dawn_native
|
||||
|
||||
#endif // DAWNNATIVE_DAWNNATIVE_H_
|
||||
|
||||
Reference in New Issue
Block a user