r600g: fix binding of same texture to several target slot
authorJerome Glisse <jglisse@redhat.com>
Thu, 2 Sep 2010 01:57:43 +0000 (21:57 -0400)
committerJerome Glisse <jglisse@redhat.com>
Thu, 2 Sep 2010 01:59:28 +0000 (21:59 -0400)
commit31b84acbd2ae2dc7555844c5a2eead932b8759a7
treecb54fc0922fa12f05ca688869e3cd21e77cabf66
parent39605587951aed546c14febcc26e5a479bf8d807
r600g: fix binding of same texture to several target slot

One can bind same texture or sampler to different slot,
each slot needs it own state. The solution implemented
here is not exactly beautifull or optimal need to think
to somethings better.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
src/gallium/drivers/r600/r600_context.h
src/gallium/drivers/r600/r600_state.c