mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
v3dv: also check GS stage on image access for binning barriers
For some reason we were only checking the binning VS stage, but we should also check the GS, like we do for other access types. Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18290>
This commit is contained in:
parent
f5e867712f
commit
a27111cdbd
1 changed files with 5 additions and 0 deletions
|
|
@ -2718,6 +2718,11 @@ cmd_buffer_binning_sync_required(struct v3dv_cmd_buffer *cmd_buffer,
|
|||
vs_bin_maps->sampler_map.num_desc > 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (gs_bin_maps && (gs_bin_maps->texture_map.num_desc > 0 ||
|
||||
gs_bin_maps->sampler_map.num_desc > 0)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue