intel: Add INTEL_DEBUG=nofc for disabling fast clears
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Tue, 8 Oct 2019 00:04:01 +0000 (17:04 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Wed, 9 Oct 2019 20:29:26 +0000 (13:29 -0700)
Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
docs/envvars.html
src/intel/dev/gen_debug.c
src/intel/dev/gen_debug.h

index 92f9207c80e145168abd87e85a16bf85cdc30f0b..8077bf29de4a01b117dde47af00c7936de058960 100644 (file)
@@ -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>
index a4823286db16d81538407a0e9da77c1d342426d6..ffed3045485eb4821928b07051f467a18951dc55 100644 (file)
@@ -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 }
 };
 
index edd3f8a66ecd03ea9b0c348bd01772e049948473..5c3e100e8dea740210b5b9d3e19495733165cb98 100644 (file)
@@ -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