i965: Add a devinfo field to backend_visitor and use it for gen checks
[mesa.git] / src / mesa / drivers / dri / i965 / intel_debug.h
index e693e9c600d1d44386073f60bda370282bab0186..807ad988a788fc0bee2335e444645c9c379226ea 100644 (file)
@@ -61,8 +61,9 @@ extern uint64_t INTEL_DEBUG;
 #define DEBUG_VUE                 (1 << 25)
 #define DEBUG_NO_DUAL_OBJECT_GS   (1 << 26)
 #define DEBUG_OPTIMIZER           (1 << 27)
-#define DEBUG_NO_ANNOTATION       (1 << 28)
+#define DEBUG_ANNOTATION          (1 << 28)
 #define DEBUG_NO8                 (1 << 29)
+#define DEBUG_VEC4VS              (1 << 30)
 
 #ifdef HAVE_ANDROID_PLATFORM
 #define LOG_TAG "INTEL-MESA"
@@ -109,6 +110,10 @@ extern uint64_t INTEL_DEBUG;
    }                                                            \
 } while (0)
 
+extern uint64_t intel_debug_flag_for_shader_stage(gl_shader_stage stage);
+
 struct brw_context;
 
 extern void brw_process_intel_debug_variable(struct brw_context *brw);
+
+extern bool brw_env_var_as_boolean(const char *var_name, bool default_value);