diff options
author | Dave Airlie <[email protected]> | 2010-03-21 19:36:15 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2010-03-21 19:39:28 +1000 |
commit | bb324182fc7cd9cfaa62ee44bdd9287f1ed2ac7a (patch) | |
tree | 1fa7d4bcd6759ab412f64cb4165d972bc072a5ca /src/gallium/drivers/r300/r300_context.c | |
parent | ff1c7baad241dd722341023806e00a07606de206 (diff) |
r300g: fix occlusion query hangs.
Okay need to revist the whole OQ stuff anyways, glean test asserts
which is never good.
I'm liking the cached bufmgr restrictions less and less, I think I'll
probably play with the fence and/or busy stuff ASAP and try and clean it up.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c index a55d2db039f..60b441176d9 100644 --- a/src/gallium/drivers/r300/r300_context.c +++ b/src/gallium/drivers/r300/r300_context.c @@ -200,7 +200,7 @@ struct pipe_context* r300_create_context(struct pipe_screen* screen, /* Open up the OQ BO. */ r300->oqbo = screen->buffer_create(screen, 4096, - PIPE_BUFFER_USAGE_VERTEX, 4096); + PIPE_BUFFER_USAGE_PIXEL, 4096); make_empty_list(&r300->query_list); r300_init_flush_functions(r300); |