mesa/src
Kenneth Graunke 42a8057000 i965: Allocate the whole URB to the VS and fix calculations for Gen6.
Since we never enable the GS on Sandybridge, there's no need to allocate
it any URB space.

Furthermore, the previous calculation was incorrect: it neglected to
multiply by nr_vs_entries, instead comparing whether twice the size of
a single VS URB entry was bigger than the entire URB space.  It also
neglected to take into account that vs_size is in units of 128 byte
blocks, while urb_size is in bytes.

Despite the above problems, the calculations resulted in an acceptable
programming of the URB in most cases, at least on GT2.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
2011-04-18 15:26:34 -07:00
..
driclient
egl egl/wayland: Update to per-surface frame events 2011-04-12 11:08:17 -04:00
gallium nvfx: comment-out unused var 2011-04-18 12:34:29 -06:00
getopt getopt: Make code more portable. 2011-01-12 16:54:21 +00:00
glsl glsl: Emit a warning when the left-hand operand of a comma has no effect 2011-04-18 14:43:48 -07:00
glu mesa: fix mesa version string construction 2010-10-19 08:59:27 -06:00
glut scons: Revamp how to specify targets to build. 2010-11-01 13:30:22 +00:00
glw
glx glx: Only remove the glx_display from the list after it's destroyed. 2011-04-10 18:53:34 +02:00
mapi glapi: regenerated files for GL_ARB_sampler_objects 2011-04-10 13:12:49 -06:00
mesa i965: Allocate the whole URB to the VS and fix calculations for Gen6. 2011-04-18 15:26:34 -07:00
Makefile
SConscript scons: builtin_glsl_function on windows needs bundled getopt. 2011-02-11 20:09:26 +00:00