From be6844c1edb31a77898adc191ddb42f7b138e9fb Mon Sep 17 00:00:00 2001
From: Lioncash <mathew1800@gmail.com>
Date: Wed, 23 Jun 2021 11:50:37 -0400
Subject: [PATCH] maxwell3d: Add missing return in default SizeInBytes() case

We were returning '1' in ComponentCount()'s default case but were
neglecting to do the same with SizeInBytes().
---
 src/video_core/engines/maxwell_3d.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index ffed42a298..3353839557 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -242,6 +242,7 @@ public:
                     return 4;
                 default:
                     UNREACHABLE();
+                    return 1;
                 }
             }