summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_performance_monitor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_performance_monitor.c b/src/mesa/drivers/dri/i965/brw_performance_monitor.c
index ff3cb97b1e1..3f64eae57eb 100644
--- a/src/mesa/drivers/dri/i965/brw_performance_monitor.c
+++ b/src/mesa/drivers/dri/i965/brw_performance_monitor.c
@@ -645,10 +645,10 @@ start_oa_counters(struct brw_context *brw)
case 5:
return; /* Ironlake counters are always running. */
case 6:
- counter_format = 1; /* 0b001 */
+ counter_format = 0b001;
break;
case 7:
- counter_format = 5; /* 0b101 */
+ counter_format = 0b101;
break;
default:
assert(!"Tried to enable OA counters on an unsupported generation.");