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@whitecape.org> Acked-by: Jason Ekstrand <jason.ekstrand@intel.com> Acked-by: Kristian Høgsberg <krh@bitplanet.net>
This commit is contained in:
@@ -68,7 +68,7 @@ static const struct dri_debug_control debug_control[] = {
|
|||||||
{ "optimizer", DEBUG_OPTIMIZER },
|
{ "optimizer", DEBUG_OPTIMIZER },
|
||||||
{ "ann", DEBUG_ANNOTATION },
|
{ "ann", DEBUG_ANNOTATION },
|
||||||
{ "no8", DEBUG_NO8 },
|
{ "no8", DEBUG_NO8 },
|
||||||
{ "vec4vs", DEBUG_VEC4VS },
|
{ "vec4", DEBUG_VEC4VS },
|
||||||
{ "spill", DEBUG_SPILL },
|
{ "spill", DEBUG_SPILL },
|
||||||
{ "cs", DEBUG_CS },
|
{ "cs", DEBUG_CS },
|
||||||
{ NULL, 0 }
|
{ NULL, 0 }
|
||||||
|
Reference in New Issue
Block a user