Home
last modified time | relevance | path

Searched refs:spec_info (Results 1 – 13 of 13) 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.h340 vk_spec_info_to_nir_spirv(const VkSpecializationInfo *spec_info,
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline_cache.c167 const VkSpecializationInfo *spec_info = pCreateInfo->pStages[i].pSpecializationInfo; in radv_hash_rt_shaders() local
182 if (spec_info && spec_info->mapEntryCount) { in radv_hash_rt_shaders()
183 _mesa_sha1_update(&ctx, spec_info->pMapEntries, in radv_hash_rt_shaders()
184 spec_info->mapEntryCount * sizeof spec_info->pMapEntries[0]); in radv_hash_rt_shaders()
185 _mesa_sha1_update(&ctx, spec_info->pData, spec_info->dataSize); in radv_hash_rt_shaders()
Dradv_private.h2247 const VkSpecializationInfo *spec_info; member
Dradv_shader.c706 vk_spec_info_to_nir_spirv(stage->spec_info, &num_spec_entries); in radv_shader_spirv_to_nir()
Dradv_pipeline.c4453 out_stage->spec_info = sinfo->pSpecializationInfo; in radv_pipeline_stage_init()
/third_party/mesa3d/src/vulkan/runtime/
Dvk_nir.c83 const VkSpecializationInfo *spec_info, in vk_spirv_to_nir() argument
98 vk_spec_info_to_nir_spirv(spec_info, &num_spec_entries); in vk_spirv_to_nir()
Dvk_shader_module.c122 const VkSpecializationInfo *spec_info, in vk_shader_module_to_nir() argument
132 .pSpecializationInfo = spec_info, in vk_shader_module_to_nir()
Dvk_nir.h44 const VkSpecializationInfo *spec_info,
Dvk_shader_module.h60 const VkSpecializationInfo *spec_info,
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
Dengine_vulkan.cc377 auto& spec_info = info.shader_info[type].specialization_info; in SetShader() local
378 spec_info.reset(new VkSpecializationInfo()); in SetShader()
379 spec_info->mapEntryCount = static_cast<uint32_t>(shader_spec_info.size()); in SetShader()
380 spec_info->pMapEntries = entries->data(); in SetShader()
381 spec_info->dataSize = sizeof(uint32_t) * shader_spec_info.size(); in SetShader()
382 spec_info->pData = entry_data->data(); in SetShader()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_pipeline.c451 stage->spec_info, in shader_module_compile_to_nir()
1431 p_stage->spec_info = src->spec_info; in pipeline_stage_create_binning()
2387 p_stage->spec_info = sinfo->pSpecializationInfo; in pipeline_compile_graphics()
3167 p_stage->spec_info = sinfo->pSpecializationInfo; in pipeline_compile_compute()
Dv3dv_private.h1636 const VkSpecializationInfo *spec_info; member