summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_surfaces.h
diff options
context:
space:
mode:
authorLuca Barbieri <luca@luca-barbieri.com>2010-08-06 09:46:14 +0200
committerLuca Barbieri <luca@luca-barbieri.com>2010-08-11 11:19:23 +0200
commite45b2ce2c3a52e9f8e6fb7e933ab2f95eec15be1 (patch)
treed7e8986a668d177a9605d80bc954b4714d082f63 /src/gallium/auxiliary/util/u_surfaces.h
parent24f5ebb1d735ca7e8944b346359de5941e707047 (diff)
u_surfaces: use cso_hash instead of util_hash_table
Using cso_hash directly is the right thing since util_hash_table adds useless overhead and is harder to use for this application.
Diffstat (limited to 'src/gallium/auxiliary/util/u_surfaces.h')
-rw-r--r--src/gallium/auxiliary/util/u_surfaces.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/util/u_surfaces.h b/src/gallium/auxiliary/util/u_surfaces.h
index 0195bf5afb..79ecd31bd7 100644
--- a/src/gallium/auxiliary/util/u_surfaces.h
+++ b/src/gallium/auxiliary/util/u_surfaces.h
@@ -4,14 +4,13 @@
#include "pipe/p_compiler.h"
#include "pipe/p_state.h"
#include "util/u_atomic.h"
-
-struct util_hash_table;
+#include "cso_cache/cso_hash.h"
struct util_surfaces
{
union
{
- struct util_hash_table *table;
+ struct cso_hash *hash;
struct pipe_surface **array;
} u;
};