diff options
author | Alex Deucher <[email protected]> | 2010-09-10 13:26:10 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2010-09-10 13:26:10 -0400 |
commit | 9cced19125f0c8bfe05d7d0c599b5c556efb20e7 (patch) | |
tree | bb1b8e235326ad6884131b80c39fd8d0cb52d243 /src/mesa/drivers/dri/radeon | |
parent | 7ffc5d7c2e0fee488e25ed0a20792973b1e4138e (diff) |
r600c: add OQ support for evergreen
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_queryobj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_queryobj.c b/src/mesa/drivers/dri/radeon/radeon_queryobj.c index ab6d02e56b9..5b7178bcca2 100644 --- a/src/mesa/drivers/dri/radeon/radeon_queryobj.c +++ b/src/mesa/drivers/dri/radeon/radeon_queryobj.c @@ -56,7 +56,7 @@ static void radeonQueryGetResult(GLcontext *ctx, struct gl_query_object *q) * hw writes zpass end counts to qwords 1, 3, 5, 7. * then we substract. MSB is the valid bit. */ - for (i = 0; i < 16; i += 4) { + for (i = 0; i < 32; i += 4) { uint64_t start = (uint64_t)LE32_TO_CPU(result[i]) | (uint64_t)LE32_TO_CPU(result[i + 1]) << 32; uint64_t end = (uint64_t)LE32_TO_CPU(result[i + 2]) | |