Module: Mesa
Branch: master
Commit: 138d2928cd9858baa00293e05d597d33e6fa3a88
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=138d2928cd9858baa00293e05d597d33e6fa3a88

Author: Samuel Iglesias Gonsálvez <[email protected]>
Date:   Tue May 19 17:08:34 2020 +0200

turnip: add environment variable to disable LRZ

Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5146>

---

 src/freedreno/vulkan/tu_device.c  | 1 +
 src/freedreno/vulkan/tu_private.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c
index c06fdec6a42..759564ba409 100644
--- a/src/freedreno/vulkan/tu_device.c
+++ b/src/freedreno/vulkan/tu_device.c
@@ -198,6 +198,7 @@ static const struct debug_control tu_debug_options[] = {
    { "forcebin", TU_DEBUG_FORCEBIN },
    { "noubwc", TU_DEBUG_NOUBWC },
    { "nomultipos", TU_DEBUG_NOMULTIPOS },
+   { "nolrz", TU_DEBUG_NOLRZ },
    { NULL, 0 }
 };
 
diff --git a/src/freedreno/vulkan/tu_private.h 
b/src/freedreno/vulkan/tu_private.h
index 1fcb09ce07f..a823f9921a1 100644
--- a/src/freedreno/vulkan/tu_private.h
+++ b/src/freedreno/vulkan/tu_private.h
@@ -228,6 +228,7 @@ enum tu_debug_flags
    TU_DEBUG_FORCEBIN = 1 << 5,
    TU_DEBUG_NOUBWC = 1 << 6,
    TU_DEBUG_NOMULTIPOS = 1 << 7,
+   TU_DEBUG_NOLRZ = 1 << 8,
 };
 
 struct tu_instance

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to