Home
last modified time | relevance | path

Searched refs:prog_key (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/gallium/drivers/iris/
Diris_disk_cache.c58 union brw_any_prog_key prog_key; in iris_disk_cache_compute_key() local
59 memcpy(&prog_key, orig_prog_key, prog_key_size); in iris_disk_cache_compute_key()
60 prog_key.base.program_string_id = 0; in iris_disk_cache_compute_key()
62 uint8_t data[sizeof(prog_key) + sizeof(ish->nir_sha1)]; in iris_disk_cache_compute_key()
66 memcpy(data + sizeof(ish->nir_sha1), &prog_key, prog_key_size); in iris_disk_cache_compute_key()
81 const void *prog_key, in iris_disk_cache_store() argument
92 iris_disk_cache_compute_key(cache, ish, prog_key, prog_key_size, cache_key); in iris_disk_cache_store()
147 const void *prog_key, in iris_disk_cache_retrieve() argument
159 iris_disk_cache_compute_key(cache, ish, prog_key, key_size, cache_key); in iris_disk_cache_retrieve()
248 iris_upload_shader(ice, cache_id, key_size, prog_key, assembly, in iris_disk_cache_retrieve()
Diris_context.h879 const void *prog_key,
884 const void *prog_key,
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_disk_cache.c92 union brw_any_prog_key prog_key; in read_and_upload() local
96 brw_vs_populate_key(brw, &prog_key.vs); in read_and_upload()
99 brw_tcs_populate_key(brw, &prog_key.tcs); in read_and_upload()
102 brw_tes_populate_key(brw, &prog_key.tes); in read_and_upload()
105 brw_gs_populate_key(brw, &prog_key.gs); in read_and_upload()
108 brw_wm_populate_key(brw, &prog_key.wm); in read_and_upload()
111 brw_cs_populate_key(brw, &prog_key.cs); in read_and_upload()
121 prog_key.base.program_string_id = 0; in read_and_upload()
123 gen_shader_sha1(prog, stage, &prog_key, binary_sha1); in read_and_upload()
197 prog_key.base.program_string_id = brw_program(prog)->id; in read_and_upload()
[all …]
Dbrw_program_binary.c165 union brw_any_prog_key prog_key; in deserialize_gen_program() local
166 blob_copy_bytes(reader, &prog_key, brw_prog_key_size(stage)); in deserialize_gen_program()
167 prog_key.base.program_string_id = brw_program(prog)->id; in deserialize_gen_program()
182 brw_upload_cache(&brw->cache, cache_id, &prog_key, brw_prog_key_size(stage), in deserialize_gen_program()
Dbrw_program.c928 union brw_any_prog_key *prog_key, in brw_populate_default_key() argument
934 brw_vs_populate_default_key(compiler, &prog_key->vs, prog); in brw_populate_default_key()
937 brw_tcs_populate_default_key(compiler, &prog_key->tcs, sh_prog, prog); in brw_populate_default_key()
940 brw_tes_populate_default_key(compiler, &prog_key->tes, sh_prog, prog); in brw_populate_default_key()
943 brw_gs_populate_default_key(compiler, &prog_key->gs, prog); in brw_populate_default_key()
946 brw_wm_populate_default_key(compiler, &prog_key->wm, prog); in brw_populate_default_key()
949 brw_cs_populate_default_key(compiler, &prog_key->cs, prog); in brw_populate_default_key()
Dbrw_program.h95 union brw_any_prog_key *prog_key,
/external/mesa3d/src/intel/blorp/
Dblorp_blit.c1482 const struct brw_blorp_blit_prog_key *prog_key) in brw_blorp_get_blit_kernel() argument
1486 if (blorp->lookup_shader(batch, prog_key, sizeof(*prog_key), in brw_blorp_get_blit_kernel()
1495 nir_shader *nir = brw_blorp_build_nir_shader(blorp, mem_ctx, prog_key); in brw_blorp_get_blit_kernel()
1496 nir->info.name = ralloc_strdup(nir, blorp_shader_type_to_name(prog_key->shader_type)); in brw_blorp_get_blit_kernel()
1501 isl_aux_usage_has_mcs(prog_key->tex_aux_usage); in brw_blorp_get_blit_kernel()
1502 wm_key.base.tex.msaa_16 = prog_key->tex_samples == 16; in brw_blorp_get_blit_kernel()
1503 wm_key.multisample_fbo = prog_key->rt_samples > 1; in brw_blorp_get_blit_kernel()
1510 prog_key, sizeof(*prog_key), in brw_blorp_get_blit_kernel()