Home
last modified time | relevance | path

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

/external/mesa3d/src/intel/vulkan/
Danv_pipeline.c94 const VkSpecializationInfo *spec_info) in anv_shader_compile_to_nir() argument
111 if (spec_info && spec_info->mapEntryCount > 0) { in anv_shader_compile_to_nir()
112 num_spec_entries = spec_info->mapEntryCount; in anv_shader_compile_to_nir()
115 VkSpecializationMapEntry entry = spec_info->pMapEntries[i]; in anv_shader_compile_to_nir()
116 const void *data = spec_info->pData + entry.offset; in anv_shader_compile_to_nir()
117 assert(data + entry.size <= spec_info->pData + spec_info->dataSize); in anv_shader_compile_to_nir()
119 spec_entries[i].id = spec_info->pMapEntries[i].constantID; in anv_shader_compile_to_nir()
120 if (spec_info->dataSize == 8) in anv_shader_compile_to_nir()
314 const VkSpecializationInfo *spec_info, in anv_pipeline_compile() argument
320 spec_info); in anv_pipeline_compile()
[all …]
Danv_pipeline_cache.c206 const VkSpecializationInfo *spec_info) in anv_hash_shader() argument
219 if (spec_info) { in anv_hash_shader()
220 _mesa_sha1_update(ctx, spec_info->pMapEntries, in anv_hash_shader()
221 spec_info->mapEntryCount * sizeof spec_info->pMapEntries[0]); in anv_hash_shader()
222 _mesa_sha1_update(ctx, spec_info->pData, spec_info->dataSize); in anv_hash_shader()
Danv_private.h1352 const VkSpecializationInfo *spec_info);
1530 const VkSpecializationInfo *spec_info);
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline_cache.c89 const VkSpecializationInfo *spec_info, in radv_hash_shader() argument
102 if (spec_info) { in radv_hash_shader()
103 _mesa_sha1_update(ctx, spec_info->pMapEntries, in radv_hash_shader()
104 spec_info->mapEntryCount * sizeof spec_info->pMapEntries[0]); in radv_hash_shader()
105 _mesa_sha1_update(ctx, spec_info->pData, spec_info->dataSize); in radv_hash_shader()
Dradv_pipeline.c156 const VkSpecializationInfo *spec_info, in radv_shader_compile_to_nir() argument
182 if (spec_info && spec_info->mapEntryCount > 0) { in radv_shader_compile_to_nir()
183 num_spec_entries = spec_info->mapEntryCount; in radv_shader_compile_to_nir()
186 VkSpecializationMapEntry entry = spec_info->pMapEntries[i]; in radv_shader_compile_to_nir()
187 const void *data = spec_info->pData + entry.offset; in radv_shader_compile_to_nir()
188 assert(data + entry.size <= spec_info->pData + spec_info->dataSize); in radv_shader_compile_to_nir()
190 spec_entries[i].id = spec_info->pMapEntries[i].constantID; in radv_shader_compile_to_nir()
191 if (spec_info->dataSize == 8) in radv_shader_compile_to_nir()
455 const VkSpecializationInfo *spec_info, in radv_pipeline_compile() argument
471 radv_hash_shader(sha1, module, entrypoint, spec_info, layout, key); in radv_pipeline_compile()
[all …]
Dradv_private.h820 const VkSpecializationInfo *spec_info,