mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 11:40:10 +01:00
zink: don't try copying multiple results for conditional render copy
conditional render is only a single result, so multiple results need to first be aggregated fixes #8798 cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22345>
This commit is contained in:
parent
72a9d12c96
commit
06bfe07212
1 changed files with 2 additions and 1 deletions
|
|
@ -1320,7 +1320,8 @@ zink_render_condition(struct pipe_context *pctx,
|
|||
int num_results = get_num_starts(query);
|
||||
if (num_results) {
|
||||
if (!is_emulated_primgen(query) &&
|
||||
!is_so_overflow_query(query)) {
|
||||
!is_so_overflow_query(query) &&
|
||||
num_results == 1) {
|
||||
copy_results_to_buffer(ctx, query, res, 0, num_results, flags);
|
||||
} else {
|
||||
/* these need special handling */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue