diff --git a/src/nv2a_vsh_emulator.c b/src/nv2a_vsh_emulator.c index 16baa7c..704d955 100644 --- a/src/nv2a_vsh_emulator.c +++ b/src/nv2a_vsh_emulator.c @@ -107,6 +107,10 @@ static inline void apply_operation(Nv2aVshExecutionState *state, case NV2ART_ADDRESS: outreg = state->address_reg; break; + + default: + assert(!"Invalid output type"); + return; } if (out->writemask & NV2AWM_X) {