summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Subv2018-02-17 14:00:30 -0500
committerGravatar Subv2018-02-17 14:00:30 -0500
commit2662de6e52344e082bc5855ea0e3e791588862c6 (patch)
tree7da7c3e93240e7eddb974a15b1da655846a975ec /src/core
parentVi: Always write the IGBPBuffer in the RequestBuffer response parcel. (diff)
downloadyuzu-2662de6e52344e082bc5855ea0e3e791588862c6.tar.gz
yuzu-2662de6e52344e082bc5855ea0e3e791588862c6.tar.xz
yuzu-2662de6e52344e082bc5855ea0e3e791588862c6.zip
Vi: Mark all fences as NO_FENCE in the DequeueBuffer response parcel.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/vi/vi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp
index e5f196158..1afd5a4fb 100644
--- a/src/core/hle/service/vi/vi.cpp
+++ b/src/core/hle/service/vi/vi.cpp
@@ -288,8 +288,8 @@ protected:
288 // TODO(Subv): Find out how this Fence is used. 288 // TODO(Subv): Find out how this Fence is used.
289 BufferProducerFence fence = {}; 289 BufferProducerFence fence = {};
290 fence.is_valid = 1; 290 fence.is_valid = 1;
291 fence.fences[0].id = 0; 291 for (auto& fence_ : fence.fences)
292 fence.fences[0].value = 0; 292 fence_.id = -1;
293 293
294 Write(slot); 294 Write(slot);
295 Write<u32_le>(1); 295 Write<u32_le>(1);