From 09585eb10378d2b086fec312fbbe11d41daf1437 Mon Sep 17 00:00:00 2001 From: gibbed Date: Wed, 23 May 2018 04:35:46 -0500 Subject: [PATCH] [GPU] Clarify assert in SpirvShaderTranslator::StoreToResult. --- src/xenia/gpu/spirv_shader_translator.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/xenia/gpu/spirv_shader_translator.cc b/src/xenia/gpu/spirv_shader_translator.cc index f4859c7b1..b043167fa 100644 --- a/src/xenia/gpu/spirv_shader_translator.cc +++ b/src/xenia/gpu/spirv_shader_translator.cc @@ -3330,8 +3330,10 @@ void SpirvShaderTranslator::StoreToResult(Id source_value_id, storage_array = false; writes_depth_ = true; break; - default: case InstructionStorageTarget::kNone: + assert_always(); + break; + default: assert_unhandled_case(result.storage_target); break; }