Mesa (master): i965: Rename INTEL_DEBUG=vec4vs to INTEL_DEBUG=vec4.
Kenneth Graunke
kwg at kemper.freedesktop.org
Thu Aug 27 18:44:49 UTC 2015
Module: Mesa
Branch: master
Commit: 885a9b058cd8f2d49ae675513003eb1164888ad3
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=885a9b058cd8f2d49ae675513003eb1164888ad3
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Tue Aug 25 16:17:14 2015 -0700
i965: Rename INTEL_DEBUG=vec4vs to INTEL_DEBUG=vec4.
driParseDebugString() doesn't have actual code to parse comma separated
lists (or any other supported options?); instead it dumbly uses strstr().
This means that INTEL_DEBUG="vec4vs" will trigger both DEBUG_VEC4VS and
DEBUG_VS, as "vs" is also a substring.
We should probably improve the driconf parsing, but for now, just rename
the option so it's usable in the meantime.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Acked-by: Jason Ekstrand <jason.ekstrand at intel.com>
Acked-by: Kristian Høgsberg <krh at bitplanet.net>
---
src/mesa/drivers/dri/i965/intel_debug.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/intel_debug.c b/src/mesa/drivers/dri/i965/intel_debug.c
index a077731..b3b3c21 100644
--- a/src/mesa/drivers/dri/i965/intel_debug.c
+++ b/src/mesa/drivers/dri/i965/intel_debug.c
@@ -68,7 +68,7 @@ static const struct dri_debug_control debug_control[] = {
{ "optimizer", DEBUG_OPTIMIZER },
{ "ann", DEBUG_ANNOTATION },
{ "no8", DEBUG_NO8 },
- { "vec4vs", DEBUG_VEC4VS },
+ { "vec4", DEBUG_VEC4VS },
{ "spill", DEBUG_SPILL },
{ "cs", DEBUG_CS },
{ NULL, 0 }
More information about the mesa-commit
mailing list