Searched refs:disk_shader_cache (Results 1 - 23 of 23) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_screen.h72 struct disk_cache *disk_shader_cache; member in struct:llvmpipe_screen
H A Dlp_screen.c847 disk_cache_destroy(screen->disk_shader_cache);
933 screen->disk_shader_cache = disk_cache_create("llvmpipe", cache_id, 0);
940 return screen->disk_shader_cache;
949 if (!screen->disk_shader_cache)
951 disk_cache_compute_key(screen->disk_shader_cache, ir_sha1_cache_key, 20, sha1);
954 uint8_t *buffer = disk_cache_get(screen->disk_shader_cache, sha1, &binary_size);
971 if (!screen->disk_shader_cache || !cache->data_size || cache->dont_cache)
973 disk_cache_compute_key(screen->disk_shader_cache, ir_sha1_cache_key, 20, sha1);
974 disk_cache_put(screen->disk_shader_cache, sha1, cache->data, cache->data_size, NULL);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/
H A Dr300_screen.h48 struct disk_cache *disk_shader_cache; member in struct:r300_screen
H A Dr300_screen.c109 r300screen->disk_shader_cache =
118 return r300screen->disk_shader_cache;
676 disk_cache_destroy(r300screen->disk_shader_cache);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/
H A Dnouveau_screen.c66 return nouveau_screen(pscreen)->disk_shader_cache;
169 screen->disk_shader_cache =
294 disk_cache_destroy(screen->disk_shader_cache);
H A Dnouveau_screen.h69 struct disk_cache *disk_shader_cache; member in struct:nouveau_screen
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/
H A Dnouveau_screen.c72 return nouveau_screen(pscreen)->disk_shader_cache;
175 screen->disk_shader_cache =
381 disk_cache_destroy(screen->disk_shader_cache);
H A Dnouveau_screen.h72 struct disk_cache *disk_shader_cache; member in struct:nouveau_screen
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_program.c574 struct disk_cache *disk_shader_cache,
646 if (disk_shader_cache) {
650 disk_cache_compute_key(disk_shader_cache, blob.data, blob.size, key);
651 cached_data = disk_cache_get(disk_shader_cache, key, &cache_size);
673 if (disk_shader_cache) {
675 disk_cache_put(disk_shader_cache, key, blob.data, blob.size, NULL);
573 nvc0_program_translate(struct nvc0_program * prog,uint16_t chipset,struct disk_cache * disk_shader_cache,struct pipe_debug_callback * debug) argument
H A Dnvc0_shader_state.c58 nvc0->screen->base.disk_shader_cache, &nvc0->base.debug);
H A Dnvc0_state.c629 nvc0_context(pipe)->screen->base.disk_shader_cache,
769 nvc0_context(pipe)->screen->base.disk_shader_cache,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/
H A Dr600_pipe_common.c864 rscreen->disk_shader_cache =
873 return rscreen->disk_shader_cache;
1392 disk_cache_destroy(rscreen->disk_shader_cache);
H A Dr600_pipe_common.h349 struct disk_cache *disk_shader_cache; member in struct:r600_common_screen
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/
H A Dr600_pipe_common.c787 rscreen->disk_shader_cache =
796 return rscreen->disk_shader_cache;
1374 disk_cache_destroy(rscreen->disk_shader_cache);
H A Dr600_pipe_common.h345 struct disk_cache *disk_shader_cache; member in struct:r600_common_screen
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
H A Dsi_state_shaders.c226 if (sscreen->disk_shader_cache && insert_into_disk_cache) {
227 disk_cache_compute_key(sscreen->disk_shader_cache, ir_binary,
229 disk_cache_put(sscreen->disk_shader_cache, key, hw_binary,
242 if (sscreen->disk_shader_cache) {
246 disk_cache_compute_key(sscreen->disk_shader_cache,
251 disk_cache_get(sscreen->disk_shader_cache,
265 disk_cache_remove(sscreen->disk_shader_cache,
H A Dsi_get.c936 return sscreen->disk_shader_cache;
H A Dsi_pipe.c745 disk_cache_destroy(sscreen->disk_shader_cache);
861 sscreen->disk_shader_cache =
H A Dsi_pipe.h448 struct disk_cache *disk_shader_cache; member in struct:si_screen
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_state_shaders.c257 if (sscreen->disk_shader_cache && insert_into_disk_cache) {
258 disk_cache_compute_key(sscreen->disk_shader_cache, ir_sha1_cache_key, 20, key);
259 disk_cache_put(sscreen->disk_shader_cache, key, hw_binary, *((uint32_t *)hw_binary), NULL);
279 if (!sscreen->disk_shader_cache)
283 disk_cache_compute_key(sscreen->disk_shader_cache, ir_sha1_cache_key, 20, sha1);
286 uint8_t *buffer = disk_cache_get(sscreen->disk_shader_cache, sha1, &binary_size);
300 disk_cache_remove(sscreen->disk_shader_cache, sha1);
H A Dsi_pipe.c950 disk_cache_destroy(sscreen->disk_shader_cache);
1041 sscreen->disk_shader_cache = disk_cache_create(sscreen->info.name, cache_id,
H A Dsi_get.c940 return sscreen->disk_shader_cache;
H A Dsi_pipe.h510 struct disk_cache *disk_shader_cache; member in struct:si_screen

Completed in 41 milliseconds