Home
last modified time | relevance | path

Searched refs:spec_info (Results 1 – 12 of 12) sorted by relevance

/third_party/mesa3d/src/vulkan/util/
Dvk_util.c86 vk_spec_info_to_nir_spirv(const VkSpecializationInfo *spec_info, in vk_spec_info_to_nir_spirv() argument
89 if (spec_info == NULL || spec_info->mapEntryCount == 0) in vk_spec_info_to_nir_spirv()
92 uint32_t num_spec_entries = spec_info->mapEntryCount; in vk_spec_info_to_nir_spirv()
97 VkSpecializationMapEntry entry = spec_info->pMapEntries[i]; in vk_spec_info_to_nir_spirv()
98 const void *data = (uint8_t *)spec_info->pData + entry.offset; in vk_spec_info_to_nir_spirv()
100 (uint8_t *)spec_info->pData + spec_info->dataSize); in vk_spec_info_to_nir_spirv()
102 spec_entries[i].id = spec_info->pMapEntries[i].constantID; in vk_spec_info_to_nir_spirv()
Dvk_util.h279 vk_spec_info_to_nir_spirv(const VkSpecializationInfo *spec_info,
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline_cache.c133 const VkSpecializationInfo *spec_info = stages[i]->pSpecializationInfo; in radv_hash_shaders() local
137 if (spec_info && spec_info->mapEntryCount) { in radv_hash_shaders()
138 _mesa_sha1_update(&ctx, spec_info->pMapEntries, in radv_hash_shaders()
139 spec_info->mapEntryCount * sizeof spec_info->pMapEntries[0]); in radv_hash_shaders()
140 _mesa_sha1_update(&ctx, spec_info->pData, spec_info->dataSize); in radv_hash_shaders()
161 const VkSpecializationInfo *spec_info = pCreateInfo->pStages[i].pSpecializationInfo; in radv_hash_rt_shaders() local
165 if (spec_info && spec_info->mapEntryCount) { in radv_hash_rt_shaders()
166 _mesa_sha1_update(&ctx, spec_info->pMapEntries, in radv_hash_rt_shaders()
167 spec_info->mapEntryCount * sizeof spec_info->pMapEntries[0]); in radv_hash_rt_shaders()
168 _mesa_sha1_update(&ctx, spec_info->pData, spec_info->dataSize); in radv_hash_rt_shaders()
Dradv_shader.h492 const VkSpecializationInfo *spec_info,
Dradv_shader.c418 const VkSpecializationInfo *spec_info, in radv_shader_compile_to_nir() argument
452 vk_spec_info_to_nir_spirv(spec_info, &num_spec_entries); in radv_shader_compile_to_nir()
/third_party/mesa3d/src/intel/vulkan/
Danv_pipeline.c91 const VkSpecializationInfo *spec_info) in anv_shader_compile_to_nir() argument
104 vk_spec_info_to_nir_spirv(spec_info, &num_spec_entries); in anv_shader_compile_to_nir()
593 const VkSpecializationInfo *spec_info; member
627 const VkSpecializationInfo *spec_info, in anv_pipeline_hash_shader() argument
636 if (spec_info) { in anv_pipeline_hash_shader()
637 _mesa_sha1_update(&ctx, spec_info->pMapEntries, in anv_pipeline_hash_shader()
638 spec_info->mapEntryCount * in anv_pipeline_hash_shader()
639 sizeof(*spec_info->pMapEntries)); in anv_pipeline_hash_shader()
640 _mesa_sha1_update(&ctx, spec_info->pData, in anv_pipeline_hash_shader()
641 spec_info->dataSize); in anv_pipeline_hash_shader()
[all …]
Danv_private.h3743 const VkSpecializationInfo *spec_info);
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_pipeline.c447 vk_spec_info_to_nir_spirv(stage->spec_info, &num_spec_entries); in shader_module_compile_to_nir()
1420 p_stage->spec_info = src->spec_info; in pipeline_stage_create_binning()
1882 const VkSpecializationInfo *spec_info, in pipeline_hash_shader() argument
1891 if (spec_info) { in pipeline_hash_shader()
1892 _mesa_sha1_update(&ctx, spec_info->pMapEntries, in pipeline_hash_shader()
1893 spec_info->mapEntryCount * in pipeline_hash_shader()
1894 sizeof(*spec_info->pMapEntries)); in pipeline_hash_shader()
1895 _mesa_sha1_update(&ctx, spec_info->pData, in pipeline_hash_shader()
1896 spec_info->dataSize); in pipeline_hash_shader()
2419 p_stage->spec_info = sinfo->pSpecializationInfo; in pipeline_compile_graphics()
[all …]
Dv3dv_private.h1458 const VkSpecializationInfo *spec_info; member
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_shader.c48 const VkSpecializationInfo *spec_info, in panvk_spirv_to_nir() argument
61 vk_spec_info_to_nir_spirv(spec_info, &num_spec); in panvk_spirv_to_nir()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_shader.c95 const VkSpecializationInfo *spec_info = stage_info->pSpecializationInfo; in tu_spirv_to_nir() local
98 vk_spec_info_to_nir_spirv(spec_info, &num_spec); in tu_spirv_to_nir()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pipeline.c465 const VkSpecializationInfo *spec_info) in lvp_shader_compile_to_ir() argument
476 vk_spec_info_to_nir_spirv(spec_info, &num_spec_entries); in lvp_shader_compile_to_ir()