Re: [Mesa-dev] [PATCH 02/51] i965: Order write of query availablity with earlier writes

2017-03-06 Thread Francisco Jerez
Chris Wilson writes: > Currently we signal the availabilty of the query result using an > unordered pipe-control write. As it is unordered, it may be executed > before the write of the query result itself - and so an observer may > read the query result too early. Fix

[Mesa-dev] [PATCH 02/51] i965: Order write of query availablity with earlier writes

2017-01-10 Thread Chris Wilson
Currently we signal the availabilty of the query result using an unordered pipe-control write. As it is unordered, it may be executed before the write of the query result itself - and so an observer may read the query result too early. Fix this by requesting that the write of the availablity flag