Browse Source

gl_shader_decompiler: Remove UNREACHABLE when setting RZ

nce_cpp
ReinUsesLisp 7 years ago
parent
commit
5ca514e539
  1. 3
      src/video_core/renderer_opengl/gl_shader_decompiler.cpp

3
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;
}

Loading…
Cancel
Save