diff options
author | Grazvydas Ignotas <[email protected]> | 2018-06-20 22:17:39 +0300 |
---|---|---|
committer | Grazvydas Ignotas <[email protected]> | 2018-06-21 12:18:50 +0300 |
commit | f966929805f722ae38d4821fab61765c0ee4a60c (patch) | |
tree | 4bf25df53f2cd688458b9e4d0f6340684aeeb854 /src/gallium/drivers/radeonsi/si_pipe.h | |
parent | 4e0d93dc0e4d37dff492305fb7aa6408f36ff147 (diff) |
radeonsi: add a debug flag to zero vram allocations
This allows to avoid having to see garbage in Dying Light loading screen
at least, which probably expects Windows/NV behavior of all allocations
being zeroed by default.
Analogous to radv flag with the same name.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index 61109477d44..d73ee600443 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -141,6 +141,7 @@ enum { DBG_NO_WC, DBG_CHECK_VM, DBG_RESERVE_VMID, + DBG_ZERO_VRAM, /* 3D engine options: */ DBG_SWITCH_ON_EOP, |