mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 08:58:02 +02:00
Revert "cso: don't release sampler states that are bound"
This reverts commit 6dc96de303. No longer
necessary with the previous change.
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
95eb5e4eed
commit
52098fada7
1 changed files with 1 additions and 3 deletions
|
|
@ -188,9 +188,7 @@ cso_insert_state(struct cso_cache *sc,
|
|||
void *state)
|
||||
{
|
||||
struct cso_hash *hash = _cso_hash_for_type(sc, type);
|
||||
|
||||
if (type != CSO_SAMPLER)
|
||||
sanitize_hash(sc, hash, type, sc->max_size);
|
||||
sanitize_hash(sc, hash, type, sc->max_size);
|
||||
|
||||
return cso_hash_insert(hash, hash_key, state);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue