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:
Iago Toral Quiroga 2022-08-30 08:00:45 +02:00 committed by Marge Bot
parent f5e867712f
commit a27111cdbd

View file

@ -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;
}
}
}