SPIR-V: Clear shader interface IDs between invocations.

This commit is contained in:
Dr. Chat 2016-06-13 18:15:59 -05:00
parent 5937e603d7
commit af870999fa
1 changed files with 2 additions and 0 deletions

View File

@ -514,6 +514,8 @@ std::vector<uint8_t> SpirvShaderTranslator::CompleteTranslation() {
// Cleanup builder.
builder_.reset();
interface_ids_.clear();
// Copy bytes out.
// TODO(benvanik): avoid copy?
std::vector<uint8_t> spirv_bytes;