d3dcompiler: Free the relative addressing data of destination registers (Valgrind).
This commit is contained in:
parent
e404d1ed86
commit
aa167f92d7
@ -2622,6 +2622,7 @@ void SlDeleteShader(struct bwriter_shader *shader) {
|
|||||||
d3dcompiler_free(shader->instr[i]->src[j].rel_reg);
|
d3dcompiler_free(shader->instr[i]->src[j].rel_reg);
|
||||||
}
|
}
|
||||||
d3dcompiler_free(shader->instr[i]->src);
|
d3dcompiler_free(shader->instr[i]->src);
|
||||||
|
d3dcompiler_free(shader->instr[i]->dst.rel_reg);
|
||||||
d3dcompiler_free(shader->instr[i]);
|
d3dcompiler_free(shader->instr[i]);
|
||||||
}
|
}
|
||||||
d3dcompiler_free(shader->instr);
|
d3dcompiler_free(shader->instr);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user