Re: [Piglit] [PATCH] arb_uniform_buffer_object: add a test that uses persistent buffers

2014-06-30 Thread Chris Forbes
Yes, you need the fence. Nothing needs to be done to sync the data, but you must ensure that the GPU is finished working with the previous contents of that memory before you clobber it. On Tue, Jul 1, 2014 at 8:51 AM, Ilia Mirkin wrote: > On Mon, Jun 30, 2014 at 4:44 PM, Ilia Mirkin wrote: >> Si

Re: [Piglit] [PATCH] arb_uniform_buffer_object: add a test that uses persistent buffers

2014-06-30 Thread Ilia Mirkin
On Mon, Jun 30, 2014 at 4:44 PM, Ilia Mirkin wrote: > Signed-off-by: Ilia Mirkin > --- > > This currently fails on i965-SNB, and based on my investigations I can > only assume it fails on nv50, and probably nvc0, but I haven't tested those. > > With i965, I only see the (last) white square. Addin

[Piglit] [PATCH] arb_uniform_buffer_object: add a test that uses persistent buffers

2014-06-30 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- This currently fails on i965-SNB, and based on my investigations I can only assume it fails on nv50, and probably nvc0, but I haven't tested those. With i965, I only see the (last) white square. Adding a "break" after the first loop iteration just shows me the red