[Mesa-dev] [PATCH 08/22] i965/gs: Allocate URB space for use by GS.
Chad Versace
chad.versace at linux.intel.com
Thu Aug 29 19:37:23 PDT 2013
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.
> + 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;
More information about the mesa-dev
mailing list