r600g/sb: fix handling of interference sets in post_scheduler
authorVadim Girlin <vadimgirlin@gmail.com>
Thu, 2 May 2013 03:53:00 +0000 (07:53 +0400)
committerVadim Girlin <vadimgirlin@gmail.com>
Fri, 3 May 2013 12:53:42 +0000 (16:53 +0400)
commitc49b6d7f27319c423ab06ab62be46ee9628f5986
tree3292edd010ad46a5bf1ab7da7f1df73f46ffe428
parente16ef1f454905252f9986bd2714fd6ae37a5aa75
r600g/sb: fix handling of interference sets in post_scheduler

post_scheduler clears interference set for reallocatable values when
the value becomes live first time, and then updates it to take into
account modified order of operations, but this was not handled properly
if the value appears first time as a source in copy operation.

Fixes issues with webgl demo: http://madebyevan.com/webgl-water/

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
src/gallium/drivers/r600/sb/sb_sched.cpp
src/gallium/drivers/r600/sb/sb_sched.h