From f4ab14cafa0dd8f253625960dadcdbaf028acabe Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Wed, 9 Mar 2022 21:33:15 +0000 Subject: [PATCH] [dxso] Fix potential fallthrough in RasterizerOut --- src/dxso/dxso_compiler.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/dxso/dxso_compiler.cpp b/src/dxso/dxso_compiler.cpp index ceaa6dce9..bdef46037 100644 --- a/src/dxso/dxso_compiler.cpp +++ b/src/dxso/dxso_compiler.cpp @@ -1225,6 +1225,12 @@ namespace dxvk { spv::StorageClassOutput, spv::BuiltInPointSize); } return m_vs.oPSize; + + default: { + DxsoRegisterPointer nullPointer; + nullPointer.id = 0; + return nullPointer; + } } case DxsoRegisterType::ColorOut: {