Mesa (master): intel: Add INTEL_DEBUG=nofc for disabling fast clears
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Oct 9 21:06:08 UTC 2019
Module: Mesa
Branch: master
Commit: d438261e0516771740b2e79eaa2f44a49053cc98
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d438261e0516771740b2e79eaa2f44a49053cc98
Author: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>
Date: Mon Oct 7 17:04:01 2019 -0700
intel: Add INTEL_DEBUG=nofc for disabling fast clears
Reviewed-by: Rafael Antognolli <rafael.antognolli at intel.com>
---
docs/envvars.html | 2 ++
src/intel/dev/gen_debug.c | 1 +
src/intel/dev/gen_debug.h | 1 +
3 files changed, 4 insertions(+)
diff --git a/docs/envvars.html b/docs/envvars.html
index 92f9207c80e..8077bf29de4 100644
--- a/docs/envvars.html
+++ b/docs/envvars.html
@@ -307,6 +307,8 @@ See the <a href="xlibdriver.html">Xlib software driver page</a> for details.
<dd>disable instruction compaction</dd>
<dt><code>nodualobj</code></dt>
<dd>suppress generation of dual-object geometry shader code</dd>
+ <dt><code>nofc</code></dt>
+ <dd>disable fast clears</dd>
<dt><code>norbc</code></dt>
<dd>disable single sampled render buffer compression</dd>
<dt><code>optimizer</code></dt>
diff --git a/src/intel/dev/gen_debug.c b/src/intel/dev/gen_debug.c
index a4823286db1..ffed3045485 100644
--- a/src/intel/dev/gen_debug.c
+++ b/src/intel/dev/gen_debug.c
@@ -89,6 +89,7 @@ static const struct debug_control debug_control[] = {
{ "tcs8", DEBUG_TCS_EIGHT_PATCH },
{ "bt", DEBUG_BT },
{ "pc", DEBUG_PIPE_CONTROL },
+ { "nofc", DEBUG_NO_FAST_CLEAR },
{ NULL, 0 }
};
diff --git a/src/intel/dev/gen_debug.h b/src/intel/dev/gen_debug.h
index edd3f8a66ec..5c3e100e8de 100644
--- a/src/intel/dev/gen_debug.h
+++ b/src/intel/dev/gen_debug.h
@@ -87,6 +87,7 @@ extern uint64_t INTEL_DEBUG;
#define DEBUG_TCS_EIGHT_PATCH (1ull << 43)
#define DEBUG_BT (1ull << 44)
#define DEBUG_PIPE_CONTROL (1ull << 45)
+#define DEBUG_NO_FAST_CLEAR (1ull << 46)
/* These flags are not compatible with the disk shader cache */
#define DEBUG_DISK_CACHE_DISABLE_MASK DEBUG_SHADER_TIME
More information about the mesa-commit
mailing list