gallium/u_threaded: don't sync in create_stream_output_target
Manhattan needs this. radeonsi can handle it since https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9028/diffs?commit_id=33ac9dec91d07ef353e110ac376842d84ec539b4. Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com> Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9356>
This commit is contained in:
parent
c4e5beef07
commit
728aa749ea
|
@ -1344,7 +1344,6 @@ tc_create_stream_output_target(struct pipe_context *_pipe,
|
|||
struct threaded_resource *tres = threaded_resource(res);
|
||||
struct pipe_stream_output_target *view;
|
||||
|
||||
tc_sync(threaded_context(_pipe));
|
||||
util_range_add(&tres->b, &tres->valid_buffer_range, buffer_offset,
|
||||
buffer_offset + buffer_size);
|
||||
|
||||
|
|
|
@ -77,8 +77,6 @@
|
|||
* - stream_output_target_destroy
|
||||
* - transfer_map (only unsychronized buffer mappings)
|
||||
* - get_query_result (when threaded_query::flushed == true)
|
||||
*
|
||||
* Create calls causing a sync that can't be async due to driver limitations:
|
||||
* - create_stream_output_target
|
||||
*
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue