video_core: optionally skip barriers on feedback loops

This commit is contained in:
Liam 2023-06-14 14:11:46 -04:00
parent 278336af63
commit 8d6aefdcc4
6 changed files with 28 additions and 0 deletions

View file

@ -186,6 +186,10 @@ void TextureCache<P>::FillComputeImageViews(std::span<ImageViewInOut> views) {
template <class P>
void TextureCache<P>::CheckFeedbackLoop(std::span<const ImageViewInOut> views) {
if (!Settings::values.barrier_feedback_loops.GetValue()) {
return;
}
const bool requires_barrier = [&] {
for (const auto& view : views) {
if (!view.id) {