Home
last modified time | relevance | path

Searched refs:index_cache (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_draw_arrays.c106 if (hwtnl->index_cache[prim][i].buffer != NULL && in retrieve_or_generate_indices()
107 hwtnl->index_cache[prim][i].generate == generate) { in retrieve_or_generate_indices()
108 if (compare(hwtnl->index_cache[prim][i].gen_nr, gen_nr, gen_type)) { in retrieve_or_generate_indices()
110 hwtnl->index_cache[prim][i].buffer); in retrieve_or_generate_indices()
118 pipe_resource_reference(&hwtnl->index_cache[prim][i].buffer, in retrieve_or_generate_indices()
123 i, hwtnl->index_cache[prim][i].gen_nr); in retrieve_or_generate_indices()
135 if (hwtnl->index_cache[prim][i].buffer == NULL) { in retrieve_or_generate_indices()
139 else if (hwtnl->index_cache[prim][i].gen_nr < smallest) { in retrieve_or_generate_indices()
141 smallest_size = hwtnl->index_cache[prim][i].gen_nr; in retrieve_or_generate_indices()
147 pipe_resource_reference(&hwtnl->index_cache[prim][smallest].buffer, in retrieve_or_generate_indices()
[all …]
Dsvga_draw_private.h127 struct index_cache { struct
186 struct index_cache index_cache[PIPE_PRIM_MAX][IDX_CACHE_MAX]; member
Dsvga_draw.c73 pipe_resource_reference(&hwtnl->index_cache[i][j].buffer, NULL); in svga_hwtnl_destroy()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Davailable_instructions.cpp128 auto cached_result = index_cache.find(index); in operator []()
129 if (cached_result != index_cache.end()) { in operator []()
136 index_cache.insert({index, result}); in operator []()
150 index_cache.insert({index, result}); in operator []()
164 if (index_cache.count(num_available_at_ancestor_entry) == 0) { in operator []()
173 index_cache.insert({num_available_at_ancestor_entry + local_index, in operator []()
180 return index_cache.at(index); in operator []()
Davailable_instructions.h65 mutable std::unordered_map<uint32_t, opt::Instruction*> index_cache; variable
/external/llvm/test/CodeGen/ARM/
D2011-04-26-SchedTweak.ll23 %index_cache = alloca i32, align 4
24 store i32 0, i32* %index_cache, align 4
/external/llvm-project/llvm/test/CodeGen/ARM/
D2011-04-26-SchedTweak.ll23 %index_cache = alloca i32, align 4
24 store i32 0, i32* %index_cache, align 4
/external/mesa3d/src/gallium/drivers/lima/
Dlima_resource.c230 res->index_cache = CALLOC_STRUCT(panfrost_minmax_cache); in _lima_resource_create_with_modifiers()
283 if (res->index_cache) in lima_resource_destroy()
284 FREE(res->index_cache); in lima_resource_destroy()
634 if ((usage & dpw) == dpw && res->index_cache) in lima_transfer_map()
641 panfrost_minmax_cache_invalidate(res->index_cache, ptrans); in lima_transfer_map()
696 panfrost_minmax_cache_invalidate(res->index_cache, ptrans); in lima_transfer_unmap()
Dlima_resource.h56 struct panfrost_minmax_cache *index_cache; member
Dlima_draw.c1077 needs_indices = !panfrost_minmax_cache_get(ctx->index_res->index_cache, info->start, in lima_draw_vbo_indexed()
1084 panfrost_minmax_cache_add(ctx->index_res->index_cache, info->start, info->count, in lima_draw_vbo_indexed()
/external/llvm-project/llvm/test/CodeGen/Thumb2/
Dv8_IT_3.ll22 %index_cache = alloca i32, align 4
23 store i32 0, i32* %index_cache, align 4
/external/llvm/test/CodeGen/Thumb2/
Dv8_IT_3.ll22 %index_cache = alloca i32, align 4
23 store i32 0, i32* %index_cache, align 4
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_resource.h76 struct panfrost_minmax_cache *index_cache; member
Dpan_resource.c640 so->index_cache = rzalloc(so, struct panfrost_minmax_cache); in panfrost_resource_create_with_modifier()
944 if ((usage & dpw) == dpw && rsrc->index_cache) in panfrost_ptr_map()
957 panfrost_minmax_cache_invalidate(rsrc->index_cache, &transfer->base); in panfrost_ptr_map()
1073 panfrost_minmax_cache_invalidate(prsrc->index_cache, transfer); in panfrost_ptr_unmap()
Dpan_cmdstream.c87 needs_indices = !panfrost_minmax_cache_get(rsrc->index_cache, in panfrost_get_index_buffer_bounded()
109 panfrost_minmax_cache_add(rsrc->index_cache, in panfrost_get_index_buffer_bounded()