i965/nir: Do not scalarize phis in non-scalar setups
[mesa.git] / src / mesa / drivers / dri / radeon / radeon_debug.c
index 3b6f0038037d79c2f41f22da96999b6157e55d05..7ddba1ae85f172cf2172947a6d82ddad8b456a93 100644 (file)
@@ -29,8 +29,8 @@
 
 #include "utils.h"
 
-#include "radeon_debug.h"
 #include "radeon_common_context.h"
+#include "radeon_debug.h"
 
 #include <stdarg.h>
 #include <stdio.h>
@@ -39,7 +39,7 @@ static const struct dri_debug_control debug_control[] = {
        {"fall", RADEON_FALLBACKS},
        {"tex", RADEON_TEXTURE},
        {"ioctl", RADEON_IOCTL},
-       {"verts", RADEON_RENDER},
+       {"verts", RADEON_VERTS},
        {"render", RADEON_RENDER},
        {"swrender", RADEON_SWRENDER},
        {"state", RADEON_STATE},
@@ -93,6 +93,8 @@ void _radeon_print(const radeon_debug_type_t type,
           const char* message,
           ...)
 {
+       va_list values;
+
        GET_CURRENT_CONTEXT(ctx);
        if (ctx) {
                radeonContextPtr radeon = RADEON_CONTEXT(ctx);
@@ -100,7 +102,6 @@ void _radeon_print(const radeon_debug_type_t type,
                if (radeon->debug.indent_depth)
                        fprintf(stderr, "%s", radeon->debug.indent);
        }
-       va_list values;
        va_start( values, message );
        vfprintf(stderr, message, values);
        va_end( values );