winsys/radeon: remove cs_write_reloc, add simpler cs_get_reloc
authorMarek Olšák <marek.olsak@amd.com>
Fri, 11 Apr 2014 18:34:46 +0000 (20:34 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 16 Apr 2014 12:02:51 +0000 (14:02 +0200)
commitb2238b3452b0bcf3c1216c20c9918f9f0664b464
tree2d5c1495530758f977a9c435f0c8632e4d653b37
parent927213f33d0379c34033048d24592715d3f7ef96
winsys/radeon: remove cs_write_reloc, add simpler cs_get_reloc

The only difference is that it doesn't write to the CS and only returns
the index.

Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/r300/r300_cs.h
src/gallium/drivers/r300/r300_emit.c
src/gallium/winsys/radeon/drm/radeon_drm_cs.c
src/gallium/winsys/radeon/drm/radeon_winsys.h