OSDN Git Service

i965: Drop push-mode reladdr constant loading and always use constant_map.
authorEric Anholt <eric@anholt.net>
Thu, 9 Dec 2010 01:00:54 +0000 (17:00 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 9 Dec 2010 06:26:18 +0000 (22:26 -0800)
commit05e534e6c4395269b1ca3a9694a1f437363dd186
treed6f1160e17a0169803a7c16dd7c07d086fd09782
parentfd543e1f9506fe41e6e9e78aebbe0bca01df055c
i965: Drop push-mode reladdr constant loading and always use constant_map.

This eases the gen6 implementation, which can only handle up to 32
registers of constants, while likely not penalizing real apps using
reladdr since all of those I've seen also end up hitting the pull
constant buffer.  On gen6, the constant map means that simple NV VPs
fit under the 32-reg limit and now succeed.  Fixes around 10 testcases.
src/mesa/drivers/dri/i965/brw_curbe.c
src/mesa/drivers/dri/i965/brw_vs.c
src/mesa/drivers/dri/i965/brw_vs_emit.c
src/mesa/drivers/dri/i965/gen6_vs_state.c