diff options
author | Matt Turner <[email protected]> | 2014-03-03 19:10:44 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-05-15 23:31:27 -0700 |
commit | 730bc124c39f4a2ed9fea53959676bca150ae4d3 (patch) | |
tree | ac8885626a8277346ed337c7c75ac6b3d818da58 /src | |
parent | 2bab95973d8ad3a84f62670143d6f26c230d9582 (diff) |
i965: Use binary literals counter select.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_performance_monitor.c | 4 |
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."); |