diff options
author | Samuel Pitoiset <[email protected]> | 2017-09-11 15:00:41 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-09-14 10:37:57 +0200 |
commit | e2e72477c088621da8b5d7e7fc6bf01a940fdbfa (patch) | |
tree | 2ef95bd4e7522b446bb8c388c3161ed0181a39fe /src/amd/vulkan/radv_device.c | |
parent | 061f5b7d73a975b82e22acfb99883c8f6e954472 (diff) |
radv: add debug flags for syncing shaders after every draw call
To improve GPU hangs detection when shaders are stucked.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_device.c')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 3c512bd263b..8de1bb3b0c1 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -413,6 +413,7 @@ static const struct debug_control radv_debug_options[] = { {"spirv", RADV_DEBUG_DUMP_SPIRV}, {"vmfaults", RADV_DEBUG_VM_FAULTS}, {"zerovram", RADV_DEBUG_ZERO_VRAM}, + {"syncshaders", RADV_DEBUG_SYNC_SHADERS}, {NULL, 0} }; |