Re: [Mesa-dev] [PATCH] radv: Flush before copying with PKT3_WRITE_DATA in CmdUpdateBuffer

2017-03-14 Thread Bas Nieuwenhuizen
Thanks. Pushed. On Tue, Mar 14, 2017 at 4:26 PM, Alex Smith wrote: > Need to flush before updating the buffer to ensure that the copy is > ordered after previous accesses (assuming the app has performed the > appropriate barriers). > > This fixes potential issues due

[Mesa-dev] [PATCH] radv: Flush before copying with PKT3_WRITE_DATA in CmdUpdateBuffer

2017-03-14 Thread Alex Smith
Need to flush before updating the buffer to ensure that the copy is ordered after previous accesses (assuming the app has performed the appropriate barriers). This fixes potential issues due to draws prior to an update reading the new buffer content, despite having the necessary barriers between