/third_party/mesa3d/src/vulkan/util/ |
D | vk_util.c | 86 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()
|
D | vk_util.h | 279 vk_spec_info_to_nir_spirv(const VkSpecializationInfo *spec_info,
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_pipeline_cache.c | 133 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()
|
D | radv_shader.h | 492 const VkSpecializationInfo *spec_info,
|
D | radv_shader.c | 418 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/ |
D | anv_pipeline.c | 91 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 …]
|
D | anv_private.h | 3743 const VkSpecializationInfo *spec_info);
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_pipeline.c | 447 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 …]
|
D | v3dv_private.h | 1458 const VkSpecializationInfo *spec_info; member
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_vX_shader.c | 48 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/ |
D | tu_shader.c | 95 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/ |
D | lvp_pipeline.c | 465 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()
|