gallium: fix blend state cso
authorRoland Scheidegger <sroland@vmware.com>
Sat, 30 Jan 2010 00:56:42 +0000 (01:56 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Sat, 30 Jan 2010 00:58:00 +0000 (01:58 +0100)
commit847ac8ec5ff683076dff17d8e0426a64b4ad65e7
tree818b26c3038a9d4811cf309a204ab3193681a72d
parentb8d4cbd7e2f76e647d8ac8c4dc4881d71c984b68
gallium: fix blend state cso

if independent blend state was disabled, only the data from first rt was
stored, however the comparison used the full state, hence there never was
a match and always a new object was created.
Fixes a huge performance drop with llvmpipe due to recompilation.
src/gallium/auxiliary/cso_cache/cso_cache.c
src/gallium/auxiliary/cso_cache/cso_cache.h
src/gallium/auxiliary/cso_cache/cso_context.c