mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
i965: Reduce the SIMD8 GS push constant threshold from 32 to 24.
Three Shadow of Mordor geometry shaders increase by a single instruction, but the number of spills/fills in Orbital Explorer is reduced from 194:1279 -> 82:454. No other programs are affected. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
3aa542c657
commit
607fb0f13d
1 changed files with 2 additions and 2 deletions
|
|
@ -5229,8 +5229,8 @@ fs_visitor::setup_gs_payload()
|
|||
payload.num_regs++;
|
||||
}
|
||||
|
||||
/* Use a maximum of 32 registers for push-model inputs. */
|
||||
const unsigned max_push_components = 32;
|
||||
/* Use a maximum of 24 registers for push-model inputs. */
|
||||
const unsigned max_push_components = 24;
|
||||
|
||||
/* If pushing our inputs would take too many registers, reduce the URB read
|
||||
* length (which is in HWords, or 8 registers), and resort to pulling.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue