summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2018-04-14 14:42:47 -0400
committerGravatar bunnei2018-04-14 16:01:41 -0400
commiteabeedf6af1e5277074ca460fa48390195b21329 (patch)
tree37e66ab6dd84011146c87888fee9ba1951646507 /src
parentshaders: Fix GCC and clang build issues. (diff)
downloadyuzu-eabeedf6af1e5277074ca460fa48390195b21329.tar.gz
yuzu-eabeedf6af1e5277074ca460fa48390195b21329.tar.xz
yuzu-eabeedf6af1e5277074ca460fa48390195b21329.zip
gl_shader_decompiler: Cleanup log statements.
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
index 96d50dd9e..6251a4be2 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
@@ -158,7 +158,7 @@ private:
158 return "input_attribute_" + std::to_string(index); 158 return "input_attribute_" + std::to_string(index);
159 } 159 }
160 160
161 LOG_ERROR(HW_GPU, "Unhandled input attribute: 0x%02x", index); 161 LOG_CRITICAL(HW_GPU, "Unhandled input attribute: 0x%02x", index);
162 UNREACHABLE(); 162 UNREACHABLE();
163 } 163 }
164 164
@@ -175,7 +175,7 @@ private:
175 return "output_attribute_" + std::to_string(index); 175 return "output_attribute_" + std::to_string(index);
176 } 176 }
177 177
178 LOG_ERROR(HW_GPU, "Unhandled output attribute: 0x%02x", index); 178 LOG_CRITICAL(HW_GPU, "Unhandled output attribute: 0x%02x", index);
179 UNREACHABLE(); 179 UNREACHABLE();
180 } 180 }
181 } 181 }
@@ -267,9 +267,9 @@ private:
267 break; 267 break;
268 } 268 }
269 default: { 269 default: {
270 LOG_ERROR(HW_GPU, "Unhandled arithmetic instruction: 0x%02x (%s): 0x%08x", 270 LOG_CRITICAL(HW_GPU, "Unhandled arithmetic instruction: 0x%02x (%s): 0x%08x",
271 (int)instr.opcode.EffectiveOpCode(), OpCode::GetInfo(instr.opcode).name, 271 static_cast<unsigned>(instr.opcode.EffectiveOpCode()),
272 instr.hex); 272 OpCode::GetInfo(instr.opcode).name.c_str(), instr.hex);
273 throw DecompileFail("Unhandled instruction"); 273 throw DecompileFail("Unhandled instruction");
274 break; 274 break;
275 } 275 }
@@ -296,9 +296,9 @@ private:
296 } 296 }
297 297
298 default: { 298 default: {
299 LOG_ERROR(HW_GPU, "Unhandled arithmetic FFMA instruction: 0x%02x (%s): 0x%08x", 299 LOG_CRITICAL(HW_GPU, "Unhandled arithmetic FFMA instruction: 0x%02x (%s): 0x%08x",
300 (int)instr.opcode.EffectiveOpCode(), OpCode::GetInfo(instr.opcode).name, 300 static_cast<unsigned>(instr.opcode.EffectiveOpCode()),
301 instr.hex); 301 OpCode::GetInfo(instr.opcode).name.c_str(), instr.hex);
302 throw DecompileFail("Unhandled instruction"); 302 throw DecompileFail("Unhandled instruction");
303 break; 303 break;
304 } 304 }
@@ -321,9 +321,9 @@ private:
321 break; 321 break;
322 } 322 }
323 default: { 323 default: {
324 LOG_ERROR(HW_GPU, "Unhandled memory instruction: 0x%02x (%s): 0x%08x", 324 LOG_CRITICAL(HW_GPU, "Unhandled memory instruction: 0x%02x (%s): 0x%08x",
325 (int)instr.opcode.EffectiveOpCode(), OpCode::GetInfo(instr.opcode).name, 325 static_cast<unsigned>(instr.opcode.EffectiveOpCode()),
326 instr.hex); 326 OpCode::GetInfo(instr.opcode).name.c_str(), instr.hex);
327 throw DecompileFail("Unhandled instruction"); 327 throw DecompileFail("Unhandled instruction");
328 break; 328 break;
329 } 329 }
@@ -340,10 +340,10 @@ private:
340 } 340 }
341 341
342 default: { 342 default: {
343 LOG_ERROR(HW_GPU, "Unhandled instruction: 0x%02x (%s): 0x%08x", 343 LOG_CRITICAL(HW_GPU, "Unhandled instruction: 0x%02x (%s): 0x%08x",
344 (int)instr.opcode.EffectiveOpCode(), 344 static_cast<unsigned>(instr.opcode.EffectiveOpCode()),
345 OpCode::GetInfo(instr.opcode).name.c_str(), instr.hex); 345 OpCode::GetInfo(instr.opcode).name.c_str(), instr.hex);
346 // throw DecompileFail("Unhandled instruction"); 346 throw DecompileFail("Unhandled instruction");
347 break; 347 break;
348 } 348 }
349 } 349 }