Home
last modified time | relevance | path

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

/external/mesa3d/src/intel/vulkan/
Danv_pipeline.c104 const VkSpecializationInfo *spec_info) in anv_shader_compile_to_nir() argument
119 if (spec_info && spec_info->mapEntryCount > 0) { in anv_shader_compile_to_nir()
120 num_spec_entries = spec_info->mapEntryCount; in anv_shader_compile_to_nir()
123 VkSpecializationMapEntry entry = spec_info->pMapEntries[i]; in anv_shader_compile_to_nir()
124 const void *data = spec_info->pData + entry.offset; in anv_shader_compile_to_nir()
125 assert(data + entry.size <= spec_info->pData + spec_info->dataSize); in anv_shader_compile_to_nir()
127 spec_entries[i].id = spec_info->pMapEntries[i].constantID; in anv_shader_compile_to_nir()
128 if (spec_info->dataSize == 8) in anv_shader_compile_to_nir()
355 const VkSpecializationInfo *spec_info, in anv_pipeline_hash_shader() argument
373 if (spec_info) { in anv_pipeline_hash_shader()
[all …]
Danv_private.h2224 const VkSpecializationInfo *spec_info);
/external/mesa3d/src/amd/vulkan/
Dradv_shader.c196 const VkSpecializationInfo *spec_info) in radv_shader_compile_to_nir() argument
224 if (spec_info && spec_info->mapEntryCount > 0) { in radv_shader_compile_to_nir()
225 num_spec_entries = spec_info->mapEntryCount; in radv_shader_compile_to_nir()
228 VkSpecializationMapEntry entry = spec_info->pMapEntries[i]; in radv_shader_compile_to_nir()
229 const void *data = spec_info->pData + entry.offset; in radv_shader_compile_to_nir()
230 assert(data + entry.size <= spec_info->pData + spec_info->dataSize); in radv_shader_compile_to_nir()
232 spec_entries[i].id = spec_info->pMapEntries[i].constantID; in radv_shader_compile_to_nir()
233 if (spec_info->dataSize == 8) in radv_shader_compile_to_nir()
Dradv_pipeline_cache.c119 const VkSpecializationInfo *spec_info = stages[i]->pSpecializationInfo; in radv_hash_shaders() local
123 if (spec_info) { in radv_hash_shaders()
124 _mesa_sha1_update(&ctx, spec_info->pMapEntries, in radv_hash_shaders()
125 spec_info->mapEntryCount * sizeof spec_info->pMapEntries[0]); in radv_hash_shaders()
126 _mesa_sha1_update(&ctx, spec_info->pData, spec_info->dataSize); in radv_hash_shaders()
Dradv_shader.h79 const VkSpecializationInfo *spec_info);