i965: Use bo_map instead of subdata to upload the bits of constant buffer.
authorEric Anholt <eric@anholt.net>
Thu, 12 Nov 2009 22:57:30 +0000 (14:57 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 13 Nov 2009 21:18:57 +0000 (13:18 -0800)
commitded0ec1ea5db8e08b0bec8ac0d9d30f98e360003
tree545936efee1d8fc5dcbbfed3ae96109e7a30d745
parent8e8586e62671e8337c08b086bf7f3c54cc46191d
i965: Use bo_map instead of subdata to upload the bits of constant buffer.

Saves CPU time, resulting in a 2.5% FPS win on ETQW.
src/mesa/drivers/dri/i965/brw_vs_surface_state.c
src/mesa/drivers/dri/intel/intel_context.h