From e45b2ce2c3a52e9f8e6fb7e933ab2f95eec15be1 Mon Sep 17 00:00:00 2001 From: Luca Barbieri Date: Fri, 6 Aug 2010 09:46:14 +0200 Subject: 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. --- src/gallium/auxiliary/util/u_surfaces.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/gallium/auxiliary/util/u_surfaces.h') 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; }; -- cgit v1.2.3