From 423a3ed2c8193522dc6dbb6923799ad6de5616ac Mon Sep 17 00:00:00 2001 From: ReinUsesLisp Date: Tue, 20 Nov 2018 22:23:10 -0300 Subject: gl_shader_decompiler: Remove UNREACHABLE when setting RZ --- src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/video_core') diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp index 5fde22ad4..e8f319438 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp @@ -761,8 +761,7 @@ private: u64 dest_num_components, u64 value_num_components, u64 dest_elem, bool precise) { if (reg == Register::ZeroIndex) { - LOG_CRITICAL(HW_GPU, "Cannot set Register::ZeroIndex"); - UNREACHABLE(); + // Setting RZ is a nop in hardware. return; } -- cgit v1.2.3