Re: [Mesa-dev] [PATCH] r600g: don't change the order of writes in merge_inst_group

2011-11-17 Thread Tilman Sauerbeck
Vadim Girlin [2011-11-17 03:33]: > Merge may produce incorrect order of operations for r600-eg: > > x: inst1 R0.x, ... ; //from current group > ... > t: inst0 R0.x, ... ; //from previous group, same destination > > Result of inst1 will be lost. > > So compare destinations and

[Mesa-dev] [PATCH] r600g: don't change the order of writes in merge_inst_group

2011-11-16 Thread Vadim Girlin
Merge may produce incorrect order of operations for r600-eg: x: inst1 R0.x, ... ; //from current group ... t: inst0 R0.x, ... ; //from previous group, same destination Result of inst1 will be lost. So compare destinations and don't allow this. Signed-off-by: Vadim Girl