Searched refs:spec_info (Results 1 – 13 of 13) sorted by relevance
/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 | 340 vk_spec_info_to_nir_spirv(const VkSpecializationInfo *spec_info,
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_pipeline_cache.c | 167 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()
|
D | radv_private.h | 2247 const VkSpecializationInfo *spec_info; member
|
D | radv_shader.c | 706 vk_spec_info_to_nir_spirv(stage->spec_info, &num_spec_entries); in radv_shader_spirv_to_nir()
|
D | radv_pipeline.c | 4453 out_stage->spec_info = sinfo->pSpecializationInfo; in radv_pipeline_stage_init()
|
/third_party/mesa3d/src/vulkan/runtime/ |
D | vk_nir.c | 83 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()
|
D | vk_shader_module.c | 122 const VkSpecializationInfo *spec_info, in vk_shader_module_to_nir() argument 132 .pSpecializationInfo = spec_info, in vk_shader_module_to_nir()
|
D | vk_nir.h | 44 const VkSpecializationInfo *spec_info,
|
D | vk_shader_module.h | 60 const VkSpecializationInfo *spec_info,
|
/third_party/vk-gl-cts/external/amber/src/src/vulkan/ |
D | engine_vulkan.cc | 377 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/ |
D | v3dv_pipeline.c | 451 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()
|
D | v3dv_private.h | 1636 const VkSpecializationInfo *spec_info; member
|