Explorar el Código

Merge pull request #3716 from bunnei/fix-another-impl-fallthrough

video_core: gl_shader_decompiler: Fix implicit fallthrough errors.
Mat M hace 6 años
padre
commit
5305806071
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/video_core/renderer_opengl/gl_shader_decompiler.cpp

+ 1 - 0
src/video_core/renderer_opengl/gl_shader_decompiler.cpp

@@ -1145,6 +1145,7 @@ private:
                 return {"gl_FragCoord"s + GetSwizzle(element), Type::Float};
             default:
                 UNREACHABLE();
+                return {"0", Type::Int};
             }
         case Attribute::Index::FrontColor:
             return {"gl_Color"s + GetSwizzle(element), Type::Float};