mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-13 18:21:01 +00:00
Remove hardcoded version numbers from vulkan layer json, set in build
* 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.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
"type": "GLOBAL",
|
||||
"library_path": ".\\renderdoc.dll",
|
||||
"api_version": "1.0.0",
|
||||
"implementation_version": "34",
|
||||
"implementation_version": "[MINOR]",
|
||||
"description": "Debugging capture layer for RenderDoc",
|
||||
"functions": {
|
||||
"vkGetInstanceProcAddr": "VK_LAYER_RENDERDOC_CaptureGetInstanceProcAddr",
|
||||
@@ -28,7 +28,7 @@
|
||||
"ENABLE_VULKAN_RENDERDOC_CAPTURE": "1"
|
||||
},
|
||||
"disable_environment": {
|
||||
"DISABLE_VULKAN_RENDERDOC_CAPTURE_0_34": "1"
|
||||
"DISABLE_VULKAN_RENDERDOC_CAPTURE_[MAJOR]_[MINOR]": "1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user