Home
last modified time | relevance | path

Searched refs:cso_hash (Results 1 - 8 of 8) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/cso_cache/
H A Dcso_hash.h61 struct cso_hash *hash;
65 struct cso_hash { struct
75 void cso_hash_init(struct cso_hash *hash);
76 void cso_hash_deinit(struct cso_hash *hash);
79 int cso_hash_size(struct cso_hash *hash);
88 struct cso_hash_iter cso_hash_insert(struct cso_hash *hash, unsigned key,
97 struct cso_hash_iter cso_hash_erase(struct cso_hash *hash, struct cso_hash_iter iter);
99 void *cso_hash_take(struct cso_hash *hash, unsigned key);
103 struct cso_hash_iter cso_hash_first_node(struct cso_hash *hash);
108 bool cso_hash_contains(struct cso_hash *has
[all...]
H A Dcso_hash.c36 #include "cso_hash.h"
77 cso_hash_create_node(struct cso_hash *hash, in cso_hash_create_node()
95 static void cso_data_rehash(struct cso_hash *hash, int hint) in cso_data_rehash()
144 static void cso_data_might_grow(struct cso_hash *hash) in cso_data_might_grow()
150 static void cso_data_has_shrunk(struct cso_hash *hash) in cso_data_has_shrunk()
159 static struct cso_node *cso_data_first_node(struct cso_hash *hash) in cso_data_first_node()
173 struct cso_hash_iter cso_hash_insert(struct cso_hash *hash, in cso_hash_insert()
189 void cso_hash_init(struct cso_hash *hash) in cso_hash_init()
200 void cso_hash_deinit(struct cso_hash *hash) in cso_hash_deinit()
229 struct cso_hash * in cso_hash_data_next()
[all...]
H A Dcso_cache.c36 #include "cso_hash.h"
39 static inline struct cso_hash *_cso_hash_for_type(struct cso_cache *sc, enum cso_cache_type type) in _cso_hash_for_type()
74 struct cso_hash *hash, in sanitize_hash()
83 static inline void sanitize_cb(struct cso_hash *hash, enum cso_cache_type type, in sanitize_cb()
110 struct cso_hash *hash = _cso_hash_for_type(sc, type); in cso_insert_state()
120 struct cso_hash *hash = _cso_hash_for_type(sc, type); in cso_find_state()
126 void *cso_hash_find_data_from_template( struct cso_hash *hash, in cso_hash_find_data_from_template()
175 struct cso_hash *hash = _cso_hash_for_type(sc, type); in cso_delete_all()
H A Dcso_cache.h79 /* cso_hash.h is necessary for cso_hash_iter, as MSVC requires structures
81 #include "cso_hash.h"
102 typedef void (*cso_sanitize_callback)(struct cso_hash *hash,
108 struct cso_hash hashes[CSO_CACHE_MAX];
H A Dcso_context.c50 #include "cso_cache/cso_hash.h"
163 sanitize_hash(struct cso_hash *hash, enum cso_cache_type type, in sanitize_hash()
/third_party/mesa3d/src/gallium/auxiliary/translate/
H A Dtranslate_cache.c34 #include "cso_cache/cso_hash.h"
37 struct cso_hash hash;
54 struct cso_hash *hash = &cache->hash; in delete_translates()
/third_party/mesa3d/src/gallium/frontends/xa/
H A Dxa_tgsi.c40 #include "cso_cache/cso_hash.h"
102 struct cso_hash vs_hash;
103 struct cso_hash fs_hash;
435 struct cso_hash *hash, unsigned processor) in cache_destroy()
463 unsigned type, struct cso_hash *hash, unsigned key) in shader_from_cache()
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_sanity.c31 #include "cso_cache/cso_hash.h"
50 struct cso_hash regs_decl;
51 struct cso_hash regs_used;
52 struct cso_hash regs_ind_used;
546 regs_hash_destroy(struct cso_hash *hash) in regs_hash_destroy()

Completed in 9 milliseconds