Explorar o código

gl_shader_decompiler: Remove UNREACHABLE when setting RZ

ReinUsesLisp %!s(int64=7) %!d(string=hai) anos
pai
achega
423a3ed2c8
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      src/video_core/renderer_opengl/gl_shader_decompiler.cpp

+ 1 - 2
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;
         }