On 29 August 2013 19:37, Chad Versace <chad.vers...@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; >> >
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev