[GPU] Clarify assert in SpirvShaderTranslator::StoreToResult.

This commit is contained in:
gibbed 2018-05-23 04:35:46 -05:00
parent 9e153c0db1
commit 09585eb103
1 changed files with 3 additions and 1 deletions

View File

@ -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;
}