r300g: do not use the index parameter in set_constant_buffer
authorMarek Olšák <maraeo@gmail.com>
Sun, 5 Dec 2010 00:30:09 +0000 (01:30 +0100)
committerMarek Olšák <maraeo@gmail.com>
Sun, 5 Dec 2010 04:46:56 +0000 (05:46 +0100)
commit1774273bde184acb95ce0ba0bfd8a0d86d04ea8f
tree88c945025a2ab99b9fef20d53ed1a04861cc9981
parente72651dc5d70ed97e460e52ace692a70b3c9b50f
r300g: do not use the index parameter in set_constant_buffer

It appears to be a constant buffer index (in case there are more constant
buffers explicitly used by a shader), i.e. something that Gallium currently
does not use. We treated it incorrectly as the offset to a constant buffer.
src/gallium/drivers/r300/r300_state.c