[Mesa-dev] [PATCH 2/2] R600: Proper insert S_WAITCNT instructions

2013-01-08 Thread Christian König
Some instructions like memory reads/writes are executed asynchronously, so we need to insert S_WAITCNT instructions to block before accessing their results. Previously we have just inserted S_WAITCNT instructions after each async instruction, this patch fixes this and adds a prober insertion pass.

[Mesa-dev] [PATCH 2/2] R600: Proper insert S_WAITCNT instructions

2012-12-17 Thread Christian König
Some instructions like memory reads/writes are executed asynchronously, so we need to insert S_WAITCNT instructions to block before accessing their results. Previously we have just inserted S_WAITCNT instructions after each async instruction, this patch fixes this and adds a prober insertion pass.