Home
last modified time | relevance | path

Searched refs:shader_key (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_cache.c103 struct ir3_shader_key shader_key = key->key; in ir3_cache_lookup() local
109 ir3_shader_variant(shaders[stage], shader_key, false, debug); in ir3_cache_lookup()
119 shader_key.safe_constlen = true; in ir3_cache_lookup()
125 ir3_shader_variant(shaders[stage], shader_key, false, debug); in ir3_cache_lookup()
137 shader_key.safe_constlen = (compiler->gen >= 6) && in ir3_cache_lookup()
140 ir3_shader_variant(shaders[MESA_SHADER_VERTEX], shader_key, true, debug); in ir3_cache_lookup()
/external/mesa3d/src/amd/common/nir/
Dac_nir_meta_cs_clear_copy_buffer.c550 out->shader_key.key = 0; in ac_prepare_cs_clear_copy_buffer()
552 out->shader_key.is_clear = !is_copy; in ac_prepare_cs_clear_copy_buffer()
554 out->shader_key.dwords_per_thread = dwords_per_thread; in ac_prepare_cs_clear_copy_buffer()
555 out->shader_key.clear_value_size_is_12 = !is_copy && clear_value_size == 12; in ac_prepare_cs_clear_copy_buffer()
556 out->shader_key.src_is_sparse = info->src_is_sparse; in ac_prepare_cs_clear_copy_buffer()
557 out->shader_key.src_align_offset = src_align_offset; in ac_prepare_cs_clear_copy_buffer()
558 out->shader_key.dst_align_offset = dst_align_offset; in ac_prepare_cs_clear_copy_buffer()
561 … out->shader_key.dst_last_thread_bytes = (dst_align_offset + info->size) % (dwords_per_thread * 4); in ac_prepare_cs_clear_copy_buffer()
564 out->shader_key.dst_single_thread_unaligned = num_threads == 1 && dst_align_offset && in ac_prepare_cs_clear_copy_buffer()
565 out->shader_key.dst_last_thread_bytes; in ac_prepare_cs_clear_copy_buffer()
[all …]
Dac_nir_meta.h119 union ac_cs_blit_key shader_key; member
179 union ac_cs_clear_copy_buffer_key shader_key; member
Dac_nir_meta_cs_blit.c1152 dispatch->shader_key = key; in ac_prepare_compute_blit()
/external/mesa3d/src/gallium/drivers/asahi/
Dagx_disk_cache.c31 const union asahi_shader_key *shader_key, in agx_disk_cache_compute_key() argument
34 uint8_t data[sizeof(uncompiled->nir_sha1) + sizeof(*shader_key)]; in agx_disk_cache_compute_key()
39 key_size = sizeof(shader_key->vs); in agx_disk_cache_compute_key()
41 key_size = sizeof(shader_key->gs); in agx_disk_cache_compute_key()
43 key_size = sizeof(shader_key->fs); in agx_disk_cache_compute_key()
53 memcpy(data + hash_size, shader_key, key_size); in agx_disk_cache_compute_key()
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_disk_cache.c51 const struct panfrost_shader_key *shader_key, cache_key cache_key) in panfrost_disk_cache_compute_key() argument
53 uint8_t data[sizeof(uncompiled->nir_sha1) + sizeof(*shader_key)]; in panfrost_disk_cache_compute_key()
56 memcpy(data + sizeof(uncompiled->nir_sha1), shader_key, sizeof(*shader_key)); in panfrost_disk_cache_compute_key()
/external/mesa3d/src/vulkan/runtime/
Dvk_pipeline.c1196 struct vk_shader_pipeline_cache_key shader_key = { 0 }; in vk_graphics_pipeline_compile_shaders() local
1231 _mesa_blake3_final(&blake3_ctx, shader_key.blake3); in vk_graphics_pipeline_compile_shaders()
1264 shader_key.stage = stage->stage; in vk_graphics_pipeline_compile_shaders()
1271 &shader_key, sizeof(shader_key)) == 0) in vk_graphics_pipeline_compile_shaders()
1281 vk_pipeline_cache_lookup_object(cache, &shader_key, in vk_graphics_pipeline_compile_shaders()
1282 sizeof(shader_key), in vk_graphics_pipeline_compile_shaders()
1407 shader_key.stage = stage->stage; in vk_graphics_pipeline_compile_shaders()
1408 vk_shader_init_cache_obj(device, shaders[i], &shader_key, in vk_graphics_pipeline_compile_shaders()
1409 sizeof(shader_key)); in vk_graphics_pipeline_compile_shaders()
1969 struct vk_shader_pipeline_cache_key shader_key = { in vk_pipeline_compile_compute_stage() local
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_compute_blit.c200 void *shader = _mesa_hash_table_u64_search(sctx->cs_dma_shaders, dispatch.shader_key.key); in si_compute_clear_copy_buffer()
203 &dispatch.shader_key)); in si_compute_clear_copy_buffer()
204 _mesa_hash_table_u64_insert(sctx->cs_dma_shaders, dispatch.shader_key.key, shader); in si_compute_clear_copy_buffer()
842 void *shader = _mesa_hash_table_u64_search(sctx->cs_blit_shaders, dispatch->shader_key.key); in si_compute_blit()
844 shader = si_create_shader_state(sctx, ac_create_blit_cs(&options, &dispatch->shader_key)); in si_compute_blit()
845 _mesa_hash_table_u64_insert(sctx->cs_blit_shaders, dispatch->shader_key.key, shader); in si_compute_blit()
/external/mesa3d/docs/relnotes/
D21.1.2.rst151 - svga: Use shader_key info to declare resources if TGSI shader is missing it
D21.2.0.rst4268 - svga: Use shader_key info to declare resources if TGSI shader is missing it