Fix typo in logic for unalias2()
This commit is contained in:
@@ -201,7 +201,7 @@ static void unalias2( struct brw_vs_compile *c,
|
||||
struct brw_reg,
|
||||
struct brw_reg ))
|
||||
{
|
||||
if ((dst.file == arg0.file && dst.nr == arg0.nr) &&
|
||||
if ((dst.file == arg0.file && dst.nr == arg0.nr) ||
|
||||
(dst.file == arg1.file && dst.nr == arg1.nr)) {
|
||||
struct brw_compile *p = &c->func;
|
||||
struct brw_reg tmp = brw_writemask(get_tmp(c), dst.dw1.bits.writemask);
|
||||
|
||||
Reference in New Issue
Block a user