OSDN Git Service

i965: Initial Ivybridge URB space partitioning, including push constants.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 27 Mar 2011 08:18:41 +0000 (01:18 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 18 May 2011 06:32:58 +0000 (23:32 -0700)
commit8832920c298f4e13ffd5e53feeba509be69edb16
tree245135d3d1444d653c1ba3b4ca6bd75989c9bad1
parent477e2fe0318c79978dedd51a5a6039cf05fc59fb
i965: Initial Ivybridge URB space partitioning, including push constants.

Currently this always reserves 16kB for push constants, regardless of
how much space is needed, and partitions it evenly betwen the VS and FS.
This is probably not ideal, but is straightforward.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/Makefile
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/brw_state_upload.c
src/mesa/drivers/dri/i965/brw_vs_emit.c
src/mesa/drivers/dri/i965/gen7_urb.c [new file with mode: 0644]