mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-19 18:27:53 -05:00
Merge pull request #10777 from liamwhite/no-barrier
video_core: optionally skip barriers on feedback loops
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user