r600g: allow r600_bo to be a sub allocation of a big bo
authorJerome Glisse <jglisse@redhat.com>
Mon, 4 Oct 2010 14:25:23 +0000 (10:25 -0400)
committerJerome Glisse <jglisse@redhat.com>
Mon, 4 Oct 2010 21:25:19 +0000 (17:25 -0400)
commitd22a1247d8a709cf433a6dd99b2f87a224c27d88
tree38edcaecaa9df68ed964639d71cf036196a3b731
parent294c9fce1b924beddf198a3cce738b88eabb5537
r600g: allow r600_bo to be a sub allocation of a big bo

Add bo offset everywhere needed if r600_bo is ever a sub bo
of a bigger bo.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600.h
src/gallium/drivers/r600/r600_shader.c
src/gallium/drivers/r600/r600_state.c
src/gallium/winsys/r600/drm/evergreen_hw_context.c
src/gallium/winsys/r600/drm/r600_hw_context.c