Re: [Mesa-dev] [PATCH] radv: allocate enough space in cmdbuf when starting a subpass

2019-03-05 Thread Samuel Pitoiset
On 3/5/19 2:34 PM, Bas Nieuwenhuizen wrote: On Tue, Mar 5, 2019 at 10:42 AM Samuel Pitoiset wrote: This fixes some CTS crashes with: dEQP-VK.renderpass2.suballocation.attachment_write_mask.attachment_count_8.start_index_* Ideally, we should check cmd_buffer->cs->max_dw because there is

Re: [Mesa-dev] [PATCH] radv: allocate enough space in cmdbuf when starting a subpass

2019-03-05 Thread Bas Nieuwenhuizen
On Tue, Mar 5, 2019 at 10:42 AM Samuel Pitoiset wrote: > > This fixes some CTS crashes with: > dEQP-VK.renderpass2.suballocation.attachment_write_mask.attachment_count_8.start_index_* > > Ideally, we should check cmd_buffer->cs->max_dw because there is > likely enough space (the internal clear

[Mesa-dev] [PATCH] radv: allocate enough space in cmdbuf when starting a subpass

2019-03-05 Thread Samuel Pitoiset
This fixes some CTS crashes with: dEQP-VK.renderpass2.suballocation.attachment_write_mask.attachment_count_8.start_index_* Ideally, we should check cmd_buffer->cs->max_dw because there is likely enough space (the internal clear draws allocate space), but keep that way for consistency.