glsl: implement set clip distance
and missed a diff in emit_glsl relating to var alloc ref counting
This commit is contained in:
parent
33f63cdc22
commit
c6615e9d05
2 changed files with 15 additions and 0 deletions
|
@ -112,6 +112,9 @@ void PrecolorInst(IR::Inst& phi) {
|
|||
ir.PhiMove(phi, IR::Value{arg.InstRecursive()});
|
||||
}
|
||||
}
|
||||
for (size_t i = 0; i < num_args; ++i) {
|
||||
IR::IREmitter{*phi.PhiBlock(i)}.Reference(IR::Value{&phi});
|
||||
}
|
||||
}
|
||||
|
||||
void Precolor(const IR::Program& program) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue