On 09/12/2014 09:05 AM, Kenneth Graunke wrote:
> On Friday, September 12, 2014 08:35:03 AM Ian Romanick wrote:
>> On 09/10/2014 03:41 PM, Kenneth Graunke wrote:
>>> In the non-indirect draw case, we call intel_upload_data to upload
>>> gl_BaseVertex. It makes brw->draw.draw_params_bo point to the
On Friday, September 12, 2014 08:35:03 AM Ian Romanick wrote:
> On 09/10/2014 03:41 PM, Kenneth Graunke wrote:
> > In the non-indirect draw case, we call intel_upload_data to upload
> > gl_BaseVertex. It makes brw->draw.draw_params_bo point to the upload
> > buffer, and increments the upload BO re
On 09/10/2014 03:41 PM, Kenneth Graunke wrote:
> In the non-indirect draw case, we call intel_upload_data to upload
> gl_BaseVertex. It makes brw->draw.draw_params_bo point to the upload
> buffer, and increments the upload BO reference count.
>
> So, we need to unreference it when making brw->dra
In the non-indirect draw case, we call intel_upload_data to upload
gl_BaseVertex. It makes brw->draw.draw_params_bo point to the upload
buffer, and increments the upload BO reference count.
So, we need to unreference it when making brw->draw.draw_params_bo point
at something else, or else we'll r