This was accidently disabled in 832bcc3613 not long after it was added.

Since it's only for gen5 and lower we might as we just remove it rather
than fixing it.
---
 src/mesa/drivers/dri/i965/brw_interpolation_map.c |  3 ++-
 src/mesa/drivers/dri/i965/intel_debug.h           | 31 +++++++++++------------
 2 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_interpolation_map.c 
b/src/mesa/drivers/dri/i965/brw_interpolation_map.c
index cb4deb5..3428afa 100644
--- a/src/mesa/drivers/dri/i965/brw_interpolation_map.c
+++ b/src/mesa/drivers/dri/i965/brw_interpolation_map.c
@@ -87,7 +87,8 @@ brw_setup_vue_interpolation(struct brw_vue_map *vue_map, 
nir_shader *nir,
       }
    }
 
-   if (unlikely(INTEL_DEBUG & DEBUG_VUE)) {
+   bool debug = false;
+   if (debug) {
       fprintf(stderr, "VUE map:\n");
       for (int i = 0; i < vue_map->num_slots; i++) {
          int varying = vue_map->slot_to_varying[i];
diff --git a/src/mesa/drivers/dri/i965/intel_debug.h 
b/src/mesa/drivers/dri/i965/intel_debug.h
index f407b6a..afca36e 100644
--- a/src/mesa/drivers/dri/i965/intel_debug.h
+++ b/src/mesa/drivers/dri/i965/intel_debug.h
@@ -58,22 +58,21 @@ extern uint64_t INTEL_DEBUG;
 #define DEBUG_SHADER_TIME         (1ull << 22)
 #define DEBUG_BLORP               (1ull << 23)
 #define DEBUG_NO16                (1ull << 24)
-#define DEBUG_VUE                 (1ull << 25)
-#define DEBUG_NO_DUAL_OBJECT_GS   (1ull << 26)
-#define DEBUG_OPTIMIZER           (1ull << 27)
-#define DEBUG_ANNOTATION          (1ull << 28)
-#define DEBUG_NO8                 (1ull << 29)
-#define DEBUG_VEC4VS              (1ull << 30)
-#define DEBUG_SPILL_FS            (1ull << 31)
-#define DEBUG_SPILL_VEC4          (1ull << 32)
-#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)
-#define DEBUG_L3                  (1ull << 38)
-#define DEBUG_DO32                (1ull << 39)
-#define DEBUG_NO_RBC              (1ull << 40)
+#define DEBUG_NO_DUAL_OBJECT_GS   (1ull << 25)
+#define DEBUG_OPTIMIZER           (1ull << 26)
+#define DEBUG_ANNOTATION          (1ull << 27)
+#define DEBUG_NO8                 (1ull << 28)
+#define DEBUG_VEC4VS              (1ull << 29)
+#define DEBUG_SPILL_FS            (1ull << 30)
+#define DEBUG_SPILL_VEC4          (1ull << 31)
+#define DEBUG_CS                  (1ull << 32)
+#define DEBUG_HEX                 (1ull << 33)
+#define DEBUG_NO_COMPACTION       (1ull << 34)
+#define DEBUG_TCS                 (1ull << 35)
+#define DEBUG_TES                 (1ull << 36)
+#define DEBUG_L3                  (1ull << 37)
+#define DEBUG_DO32                (1ull << 38)
+#define DEBUG_NO_RBC              (1ull << 39)
 
 #ifdef HAVE_ANDROID_PLATFORM
 #define LOG_TAG "INTEL-MESA"
-- 
2.7.4

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to