r600g: allow constant buffers to be user buffers.
authorDave Airlie <airlied@redhat.com>
Fri, 7 Jan 2011 00:35:41 +0000 (10:35 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 7 Jan 2011 00:35:41 +0000 (10:35 +1000)
commit6d9ca78ef7bf831b9b63f4bda68623cbae627508
treedeb0c40517a37b39ac461c3d4a935a4d5298d743
parent7b97bdba4096180df4e32e6c52f79713a649478b
r600g: allow constant buffers to be user buffers.

This provides an upload facility for the constant buffers since Marek's
constants in user buffers changes.

gears at least work on my evergreen now.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_buffer.c
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_resource.h
src/gallium/drivers/r600/r600_state.c