[SPIR-V] Reset writes_depth_

This commit is contained in:
Dr. Chat 2018-05-03 14:15:53 -05:00
parent f885b89a03
commit 5e4b696782
1 changed files with 1 additions and 0 deletions

View File

@ -619,6 +619,7 @@ std::vector<uint8_t> SpirvShaderTranslator::CompleteTranslation() {
// Cleanup builder.
cf_blocks_.clear();
writes_depth_ = false;
loop_head_block_ = nullptr;
loop_body_block_ = nullptr;
loop_cont_block_ = nullptr;