Skip to content

Commit 7fc2ca7

Browse files
committed
Add empty interface implementation to metal
1 parent 7bc917a commit 7fc2ca7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

renderdoc/driver/metal/metal_device.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,18 @@ class MetalCapturer : public IFrameCapturer
4747
void StartFrameCapture(DeviceOwnedWindow devWnd);
4848
bool EndFrameCapture(DeviceOwnedWindow devWnd);
4949
bool DiscardFrameCapture(DeviceOwnedWindow devWnd);
50+
51+
uint32_t SetObjectAnnotation(void *object, const char *key, RENDERDOC_AnnotationType valueType,
52+
uint32_t valueVectorWidth, const RENDERDOC_AnnotationValue *value)
53+
{
54+
return 2;
55+
}
56+
uint32_t SetCommandAnnotation(void *queueOrCommandBuffer, const char *key,
57+
RENDERDOC_AnnotationType valueType, uint32_t valueVectorWidth,
58+
const RENDERDOC_AnnotationValue *value)
59+
{
60+
return 2;
61+
}
5062
// IFrameCapturer interface
5163

5264
private:

0 commit comments

Comments
 (0)