diff options
author | Dave Airlie <[email protected]> | 2017-02-15 01:17:02 +0000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-09-12 05:37:15 +1000 |
commit | 310fca375c13c52fbcb11cab148ca1bf0ddd2f69 (patch) | |
tree | e4716263f9c23f5c682e8938ab64b5fc13235fdb /src/amd/vulkan/radv_device.c | |
parent | 6eade342eb223313242c1c2a7615b6bd75036087 (diff) |
radv: add debug flags to zero vram allocations.
We are seeing apps that sometimes rely on Windows behaviour, add
a flag to rule out vram zeroing.
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Signed-off-by: Dave Airlie <[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 a68278ff439..6b96a3da4a3 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -412,6 +412,7 @@ static const struct debug_control radv_debug_options[] = { {"noibs", RADV_DEBUG_NO_IBS}, {"spirv", RADV_DEBUG_DUMP_SPIRV}, {"vmfaults", RADV_DEBUG_VM_FAULTS}, + {"zerovram", RADV_DEBUG_ZERO_VRAM}, {NULL, 0} }; |