aux/tc: don't sync for get_sample_position

no drivers actually use the context for this, so a sync is pointless

Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21800>
This commit is contained in:
Mike Blumenkrantz
2023-03-09 07:37:02 -05:00
committed by Marge Bot
parent 4f58507855
commit 4a5d3590d6
2 changed files with 1 additions and 1 deletions

View File

@@ -3150,7 +3150,6 @@ tc_get_sample_position(struct pipe_context *_pipe,
struct threaded_context *tc = threaded_context(_pipe);
struct pipe_context *pipe = tc->pipe;
tc_sync(tc);
pipe->get_sample_position(pipe, sample_count, sample_index,
out_value);
}

View File

@@ -78,6 +78,7 @@
* - transfer_map (only unsychronized buffer mappings)
* - get_query_result (when threaded_query::flushed == true)
* - create_stream_output_target
* - get_sample_position
*
*
* Transfer_map rules for buffer mappings