r600: fix reloc setup
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 31 Jul 2009 18:48:46 +0000 (14:48 -0400)
committerAlex Deucher <alexdeucher@gmail.com>
Fri, 31 Jul 2009 18:52:56 +0000 (14:52 -0400)
commit80d80d23b6078b8a5c79675ebbdeda665251f13b
tree248425a399ea8a3511aba6e94b2e9276608c72f0
parent177c33c481d84058f57e761b25cba735b9c7e6ea
r600: fix reloc setup

re-use the same reloc index for bos that are referenced
multiple times.

Fixes rain demo.
src/mesa/drivers/dri/r600/r600_cmdbuf.c