mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 04:00:10 +01:00
gallium/radeon: remove unnecessary test in r600_pc_query_add_result
This test is a left-over of the initial development. It is unneeded and misleading, so let's get rid of it. Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
This commit is contained in:
parent
819543adb4
commit
149d049676
1 changed files with 0 additions and 3 deletions
|
|
@ -202,9 +202,6 @@ static void r600_pc_query_add_result(struct r600_common_context *ctx,
|
|||
for (i = 0; i < query->num_counters; ++i) {
|
||||
struct r600_pc_counter *counter = &query->counters[i];
|
||||
|
||||
if (counter->base == ~0)
|
||||
continue;
|
||||
|
||||
for (j = 0; j < counter->dwords; ++j) {
|
||||
uint32_t value = results[counter->base + j * counter->stride];
|
||||
result->batch[i].u32 += value;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue