[Mesa-dev] [PATCH 08/22] i965/gs: Allocate URB space for use by GS.
Paul Berry
stereotype441 at gmail.com
Sat Aug 31 17:04:36 PDT 2013
On 29 August 2013 19:37, Chad Versace <chad.versace at linux.intel.com> wrote:
> On 08/26/2013 03:12 PM, Paul Berry wrote:
>
> + /* VS always requires at least 32 URB entries */
>>
>
> Haswell GT2 and GT3 require at least 64 URB entries.
Good catch. Thank you double checking me on that.
I'll make a follow-up patch that adds brw->urb.min_vs_entries, populates it
correctly at context creation time, and uses it when programming the URB.
>
>
> + unsigned vs_chunks =
>> + ALIGN(32 * vs_entry_size_bytes, chunk_size_bytes) /
>> chunk_size_bytes;
>> + unsigned vs_wants =
>> + ALIGN(brw->urb.max_vs_entries * vs_entry_size_bytes,
>> + chunk_size_bytes) / chunk_size_bytes - vs_chunks;
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130831/7b25698d/attachment.html>
More information about the mesa-dev
mailing list