From ac302d7a48276dc05a64e0cbd4754b64f9464442 Mon Sep 17 00:00:00 2001 From: John Cortell Date: Thu, 2 Mar 2023 14:12:54 -0600 Subject: [PATCH] APIProperties serialization missing field The field APIProperties::rgpCapture was added years ago but renderdoc_serialize.inl wasn't updated. One of those edge cases where the size check failed to flag the oversight due to the field appearing prior to other subsequent (conditional) fields. End result is that the RGP Capture menu option is always disabled, even when the target supports it. --- renderdoc/replay/renderdoc_serialise.inl | 1 + 1 file changed, 1 insertion(+) diff --git a/renderdoc/replay/renderdoc_serialise.inl b/renderdoc/replay/renderdoc_serialise.inl index e5a3817a6..69f037651 100644 --- a/renderdoc/replay/renderdoc_serialise.inl +++ b/renderdoc/replay/renderdoc_serialise.inl @@ -494,6 +494,7 @@ void DoSerialise(SerialiserType &ser, APIProperties &el) SERIALISE_MEMBER(shaderDebugging); SERIALISE_MEMBER(pixelHistory); + SERIALISE_MEMBER(rgpCapture); SERIALISE_MEMBER(ShaderLinkage); SERIALISE_MEMBER(YUVTextures);