mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
svga: remove unneeded svga_context_flush() in svga_end_query()
Since commit 99d8fe20ab we don't have to flush the command buffer when
we end a query.
Tested with Piglit, Sauerbraten, arbocclude, ETQW (noticably faster now).
Reviewed-by: José Fonseca <jfonseca@vmware.com>
This commit is contained in:
parent
f1b3374d28
commit
c71e82b8e9
1 changed files with 0 additions and 5 deletions
|
|
@ -986,11 +986,6 @@ svga_end_query(struct pipe_context *pipe, struct pipe_query *q)
|
|||
}
|
||||
assert(ret == PIPE_OK);
|
||||
(void) ret;
|
||||
/* TODO: Delay flushing. We don't really need to flush here, just ensure
|
||||
* that there is one flush before svga_get_query_result attempts to get
|
||||
* the result.
|
||||
*/
|
||||
svga_context_flush(svga, NULL);
|
||||
break;
|
||||
case PIPE_QUERY_PRIMITIVES_GENERATED:
|
||||
case PIPE_QUERY_PRIMITIVES_EMITTED:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue