mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
i965: Set the maximum number of threads on Sandybridge.
This commit is contained in:
parent
93ba0055c3
commit
35c127362f
1 changed files with 5 additions and 1 deletions
|
|
@ -154,7 +154,11 @@ GLboolean brwCreateContext( int api,
|
|||
}
|
||||
|
||||
/* WM maximum threads is number of EUs times number of threads per EU. */
|
||||
if (intel->gen == 5) {
|
||||
if (intel->gen >= 6) {
|
||||
brw->urb.size = 1024;
|
||||
brw->vs_max_threads = 60;
|
||||
brw->wm_max_threads = 80;
|
||||
} else if (intel->gen == 5) {
|
||||
brw->urb.size = 1024;
|
||||
brw->vs_max_threads = 72;
|
||||
brw->wm_max_threads = 12 * 6;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue