On Tue, 4 Dec 2018 at 21:57, Bas Nieuwenhuizen
wrote:
> On Tue, Dec 4, 2018 at 4:52 PM Samuel Pitoiset
> wrote:
> >
> > Because WAIT_REG_MEM can only wait for a 32-bit value, it's not
> > safe to use it for timestamp queries. If we only wait on the low
> > 32 bits of a timestamp query we could b
On Tue, Dec 4, 2018 at 4:52 PM Samuel Pitoiset
wrote:
>
> Because WAIT_REG_MEM can only wait for a 32-bit value, it's not
> safe to use it for timestamp queries. If we only wait on the low
> 32 bits of a timestamp query we could be unlucky and the GPU
> might hang.
>
> One possible fix is to emit
Tested-by: Alex Smith
Thanks! s/Queryool/QueryPool/ in the subject, btw.
On Tue, 4 Dec 2018 at 15:52, Samuel Pitoiset
wrote:
> Because WAIT_REG_MEM can only wait for a 32-bit value, it's not
> safe to use it for timestamp queries. If we only wait on the low
> 32 bits of a timestamp query we co
Because WAIT_REG_MEM can only wait for a 32-bit value, it's not
safe to use it for timestamp queries. If we only wait on the low
32 bits of a timestamp query we could be unlucky and the GPU
might hang.
One possible fix is to emit a full end of pipe event and wait
on a 32-bit value which is actuall