mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-17 04:57:09 +00:00
58050e89ef
* In CMake this is easy as we're already passing it through sed, but in msbuild it's a little more complex as we need to write a little in-line C# code to read out the version number and replace the * We also update the JSON generation for layer registration on linux.
35 lines
1.0 KiB
JSON
35 lines
1.0 KiB
JSON
{
|
|
"file_format_version" : "1.0.0",
|
|
"layer" : {
|
|
"name": "VK_LAYER_RENDERDOC_Capture",
|
|
"type": "GLOBAL",
|
|
"library_path": ".\\renderdoc.dll",
|
|
"api_version": "1.0.0",
|
|
"implementation_version": "[MINOR]",
|
|
"description": "Debugging capture layer for RenderDoc",
|
|
"functions": {
|
|
"vkGetInstanceProcAddr": "VK_LAYER_RENDERDOC_CaptureGetInstanceProcAddr",
|
|
"vkGetDeviceProcAddr": "VK_LAYER_RENDERDOC_CaptureGetDeviceProcAddr"
|
|
},
|
|
"device_extensions": [
|
|
{
|
|
"name": "VK_EXT_debug_marker",
|
|
"spec_version": "3",
|
|
"entrypoints": ["vkDebugMarkerSetObjectTagEXT",
|
|
"vkDebugMarkerSetObjectNameEXT",
|
|
"vkCmdDebugMarkerBeginEXT",
|
|
"vkCmdDebugMarkerEndEXT",
|
|
"vkCmdDebugMarkerInsertEXT"
|
|
]
|
|
}
|
|
|
|
],
|
|
"enable_environment": {
|
|
"ENABLE_VULKAN_RENDERDOC_CAPTURE": "1"
|
|
},
|
|
"disable_environment": {
|
|
"DISABLE_VULKAN_RENDERDOC_CAPTURE_[MAJOR]_[MINOR]": "1"
|
|
}
|
|
}
|
|
}
|