summaryrefslogtreecommitdiff
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2019-07-25 12:34:36 -0400
committerGravatar GitHub2019-07-25 12:34:36 -0400
commit31e8a61527df805529a9c0bbda735be7cb9e38c9 (patch)
tree5edfff9af910daa29753b224c7f68013eb05f61b /src/video_core/gpu.cpp
parentMerge pull request #2704 from FernandoS27/conditional (diff)
parentShader_Ir: Change Debug Asserts for Log Warnings (diff)
downloadyuzu-31e8a61527df805529a9c0bbda735be7cb9e38c9.tar.gz
yuzu-31e8a61527df805529a9c0bbda735be7cb9e38c9.tar.xz
yuzu-31e8a61527df805529a9c0bbda735be7cb9e38c9.zip
Merge pull request #2743 from FernandoS27/surpress-assert
Downgrade and suppress a series of GPU asserts and debug messages.
Diffstat (limited to 'src/video_core/gpu.cpp')
-rw-r--r--src/video_core/gpu.cpp20
1 files changed, 7 insertions, 13 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp
index e25754e37..21007d8b2 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -151,12 +151,12 @@ enum class BufferMethods {
151 NotifyIntr = 0x8, 151 NotifyIntr = 0x8,
152 WrcacheFlush = 0x9, 152 WrcacheFlush = 0x9,
153 Unk28 = 0xA, 153 Unk28 = 0xA,
154 Unk2c = 0xB, 154 UnkCacheFlush = 0xB,
155 RefCnt = 0x14, 155 RefCnt = 0x14,
156 SemaphoreAcquire = 0x1A, 156 SemaphoreAcquire = 0x1A,
157 SemaphoreRelease = 0x1B, 157 SemaphoreRelease = 0x1B,
158 Unk70 = 0x1C, 158 FenceValue = 0x1C,
159 Unk74 = 0x1D, 159 FenceAction = 0x1D,
160 Unk78 = 0x1E, 160 Unk78 = 0x1E,
161 Unk7c = 0x1F, 161 Unk7c = 0x1F,
162 Yield = 0x20, 162 Yield = 0x20,
@@ -202,6 +202,10 @@ void GPU::CallPullerMethod(const MethodCall& method_call) {
202 case BufferMethods::SemaphoreAddressLow: 202 case BufferMethods::SemaphoreAddressLow:
203 case BufferMethods::SemaphoreSequence: 203 case BufferMethods::SemaphoreSequence:
204 case BufferMethods::RefCnt: 204 case BufferMethods::RefCnt:
205 case BufferMethods::UnkCacheFlush:
206 case BufferMethods::WrcacheFlush:
207 case BufferMethods::FenceValue:
208 case BufferMethods::FenceAction:
205 break; 209 break;
206 case BufferMethods::SemaphoreTrigger: { 210 case BufferMethods::SemaphoreTrigger: {
207 ProcessSemaphoreTriggerMethod(); 211 ProcessSemaphoreTriggerMethod();
@@ -212,21 +216,11 @@ void GPU::CallPullerMethod(const MethodCall& method_call) {
212 LOG_ERROR(HW_GPU, "Special puller engine method NotifyIntr not implemented"); 216 LOG_ERROR(HW_GPU, "Special puller engine method NotifyIntr not implemented");
213 break; 217 break;
214 } 218 }
215 case BufferMethods::WrcacheFlush: {
216 // TODO(Kmather73): Research and implement this method.
217 LOG_ERROR(HW_GPU, "Special puller engine method WrcacheFlush not implemented");
218 break;
219 }
220 case BufferMethods::Unk28: { 219 case BufferMethods::Unk28: {
221 // TODO(Kmather73): Research and implement this method. 220 // TODO(Kmather73): Research and implement this method.
222 LOG_ERROR(HW_GPU, "Special puller engine method Unk28 not implemented"); 221 LOG_ERROR(HW_GPU, "Special puller engine method Unk28 not implemented");
223 break; 222 break;
224 } 223 }
225 case BufferMethods::Unk2c: {
226 // TODO(Kmather73): Research and implement this method.
227 LOG_ERROR(HW_GPU, "Special puller engine method Unk2c not implemented");
228 break;
229 }
230 case BufferMethods::SemaphoreAcquire: { 224 case BufferMethods::SemaphoreAcquire: {
231 ProcessSemaphoreAcquire(); 225 ProcessSemaphoreAcquire();
232 break; 226 break;