mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-08 08:40:55 +00:00
Make more config flags non-debug.
* Only performance-sensitive flags should be debug only. Otherwise there's no strong reason to limit these to non-official builds.
This commit is contained in:
@@ -39,8 +39,8 @@ RDOC_CONFIG(uint32_t, Android_MaxConnectTimeout, 30,
|
||||
"Maximum time in seconds to try connecting to the target app before giving up. "
|
||||
"Useful primarily for apps that take a very long time to start up.");
|
||||
|
||||
RDOC_DEBUG_CONFIG(bool, Android_Debug_ProcessLaunch, false,
|
||||
"Output verbose debug logging messages when launching android apps.");
|
||||
RDOC_CONFIG(bool, Android_Debug_ProcessLaunch, false,
|
||||
"Output verbose debug logging messages when launching android apps.");
|
||||
|
||||
namespace Android
|
||||
{
|
||||
|
||||
@@ -41,9 +41,9 @@
|
||||
RDOC_CONFIG(uint32_t, RemoteServer_TimeoutMS, 5000,
|
||||
"Timeout in milliseconds for remote server operations.");
|
||||
|
||||
RDOC_DEBUG_CONFIG(bool, RemoteServer_DebugLogging, false,
|
||||
"Output a verbose logging file in the system's temporary folder containing the "
|
||||
"traffic to and from the remote server.");
|
||||
RDOC_CONFIG(bool, RemoteServer_DebugLogging, false,
|
||||
"Output a verbose logging file in the system's temporary folder containing the "
|
||||
"traffic to and from the remote server.");
|
||||
|
||||
static const uint32_t RemoteServerProtocolVersion =
|
||||
uint32_t(RENDERDOC_VERSION_MAJOR * 1000) + RENDERDOC_VERSION_MINOR;
|
||||
|
||||
@@ -31,10 +31,9 @@
|
||||
#include "d3d12_manager.h"
|
||||
#include "d3d12_resources.h"
|
||||
|
||||
RDOC_DEBUG_CONFIG(
|
||||
bool, D3D12_Debug_HideInitialDescriptors, false,
|
||||
"Hide the initial contents of descriptor heaps. "
|
||||
"For extremely large descriptor heaps this can drastically reduce memory consumption.");
|
||||
RDOC_CONFIG(bool, D3D12_Debug_HideInitialDescriptors, false,
|
||||
"Hide the initial contents of descriptor heaps. "
|
||||
"For extremely large descriptor heaps this can drastically reduce memory consumption.");
|
||||
|
||||
bool D3D12ResourceManager::Prepare_InitialState(ID3D12DeviceChild *res)
|
||||
{
|
||||
|
||||
@@ -31,8 +31,8 @@
|
||||
#include "vk_replay.h"
|
||||
#include "vk_shader_cache.h"
|
||||
|
||||
RDOC_DEBUG_CONFIG(rdcstr, Vulkan_Debug_FeedbackDumpDirPath, "",
|
||||
"Path to dump bindless feedback annotation generated SPIR-V files.");
|
||||
RDOC_CONFIG(rdcstr, Vulkan_Debug_FeedbackDumpDirPath, "",
|
||||
"Path to dump bindless feedback annotation generated SPIR-V files.");
|
||||
RDOC_CONFIG(
|
||||
bool, Vulkan_BindlessFeedback, true,
|
||||
"Enable fetching from GPU which descriptors were dynamically used in descriptor arrays.");
|
||||
|
||||
@@ -36,10 +36,9 @@
|
||||
// command buffer that stalls the GPU).
|
||||
// See INITSTATEBATCH
|
||||
|
||||
RDOC_DEBUG_CONFIG(
|
||||
bool, Vulkan_Debug_HideInitialDescriptors, false,
|
||||
"Hide the initial contents of descriptor sets. "
|
||||
"For extremely large descriptor sets this can drastically reduce memory consumption.");
|
||||
RDOC_CONFIG(bool, Vulkan_Debug_HideInitialDescriptors, false,
|
||||
"Hide the initial contents of descriptor sets. "
|
||||
"For extremely large descriptor sets this can drastically reduce memory consumption.");
|
||||
|
||||
bool WrappedVulkan::Prepare_InitialState(WrappedVkRes *res)
|
||||
{
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
#include "core/settings.h"
|
||||
#include "vk_core.h"
|
||||
|
||||
RDOC_DEBUG_CONFIG(bool, Vulkan_Debug_MemoryAllocationLogging, false,
|
||||
"Output verbose debug logging messages when allocating internal memory.");
|
||||
RDOC_CONFIG(bool, Vulkan_Debug_MemoryAllocationLogging, false,
|
||||
"Output verbose debug logging messages when allocating internal memory.");
|
||||
|
||||
void WrappedVulkan::ChooseMemoryIndices()
|
||||
{
|
||||
|
||||
@@ -33,8 +33,8 @@
|
||||
#include "vk_replay.h"
|
||||
#include "vk_shader_cache.h"
|
||||
|
||||
RDOC_DEBUG_CONFIG(rdcstr, Vulkan_Debug_PostVSDumpDirPath, "",
|
||||
"Path to dump gnerated SPIR-V compute shaders for fetching post-vs.");
|
||||
RDOC_CONFIG(rdcstr, Vulkan_Debug_PostVSDumpDirPath, "",
|
||||
"Path to dump gnerated SPIR-V compute shaders for fetching post-vs.");
|
||||
|
||||
#undef None
|
||||
|
||||
|
||||
@@ -34,12 +34,12 @@
|
||||
|
||||
#undef None
|
||||
|
||||
RDOC_DEBUG_CONFIG(rdcstr, Vulkan_Debug_PSDebugDumpDirPath, "",
|
||||
"Path to dump pixel shader debugging generated SPIR-V files.");
|
||||
RDOC_DEBUG_CONFIG(bool, Vulkan_Debug_DisableBufferDeviceAddress, false,
|
||||
"Disable use of buffer device address for PS Input fetch.");
|
||||
RDOC_DEBUG_CONFIG(bool, Vulkan_Debug_ShaderDebugLogging, false,
|
||||
"Output verbose debug logging messages when debugging shaders.");
|
||||
RDOC_CONFIG(rdcstr, Vulkan_Debug_PSDebugDumpDirPath, "",
|
||||
"Path to dump pixel shader debugging generated SPIR-V files.");
|
||||
RDOC_CONFIG(bool, Vulkan_Debug_DisableBufferDeviceAddress, false,
|
||||
"Disable use of buffer device address for PS Input fetch.");
|
||||
RDOC_CONFIG(bool, Vulkan_Debug_ShaderDebugLogging, false,
|
||||
"Output verbose debug logging messages when debugging shaders.");
|
||||
|
||||
struct DescSetBindingSnapshot
|
||||
{
|
||||
|
||||
@@ -40,8 +40,8 @@
|
||||
RDOC_CONFIG(bool, Linux_PtraceChildProcesses, true,
|
||||
"Use ptrace(2) to trace child processes at startup to ensure connection is made as "
|
||||
"early as possible.");
|
||||
RDOC_DEBUG_CONFIG(bool, Linux_Debug_PtraceLogging, false,
|
||||
"Enable verbose debug logging of ptrace usage.");
|
||||
RDOC_CONFIG(bool, Linux_Debug_PtraceLogging, false,
|
||||
"Enable verbose debug logging of ptrace usage.");
|
||||
|
||||
extern char **environ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user