summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_debug.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2015-07-25 19:28:59 -0700
committerKenneth Graunke <kenneth@whitecape.org>2015-11-17 10:33:54 -0800
commitdf87cb837f995827072056d361207fd9fce514f2 (patch)
treee1084fff250af91340719fe06cd22a18216f06c5 /src/mesa/drivers/dri/i965/intel_debug.h
parente9b0fa496ca3d8645ff528b0b44c76ebfa76b534 (diff)
downloadexternal_mesa3d-df87cb837f995827072056d361207fd9fce514f2.zip
external_mesa3d-df87cb837f995827072056d361207fd9fce514f2.tar.gz
external_mesa3d-df87cb837f995827072056d361207fd9fce514f2.tar.bz2
i965: Add INTEL_DEBUG=tcs,tes and hs,ds flags for tessellation shaders.
Even though both tessellation shader stages must be used together, I still think it makes sense to add separate debug flags for each stage. It makes it possible to read the TCS/HS, rule out problems, then read the TES/DS separately, without sifting through as much printed text. I decided to add both the GL names (tcs/tes) and hardware names (hs/ds) so they can be used interchangeably. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_debug.h')
-rw-r--r--src/mesa/drivers/dri/i965/intel_debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_debug.h b/src/mesa/drivers/dri/i965/intel_debug.h
index 98bd7e9..9c6030a 100644
--- a/src/mesa/drivers/dri/i965/intel_debug.h
+++ b/src/mesa/drivers/dri/i965/intel_debug.h
@@ -69,6 +69,8 @@ extern uint64_t INTEL_DEBUG;
#define DEBUG_CS (1ull << 33)
#define DEBUG_HEX (1ull << 34)
#define DEBUG_NO_COMPACTION (1ull << 35)
+#define DEBUG_TCS (1ull << 36)
+#define DEBUG_TES (1ull << 37)
#ifdef HAVE_ANDROID_PLATFORM
#define LOG_TAG "INTEL-MESA"