SPIR-V: Clear shader interface IDs between invocations.
This commit is contained in:
parent
5937e603d7
commit
af870999fa
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue