Searched refs:spec_info (Results 1 – 5 of 5) sorted by relevance
104 const VkSpecializationInfo *spec_info) in anv_shader_compile_to_nir() argument119 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() argument373 if (spec_info) { in anv_pipeline_hash_shader()[all …]
2224 const VkSpecializationInfo *spec_info);
196 const VkSpecializationInfo *spec_info) in radv_shader_compile_to_nir() argument224 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()
119 const VkSpecializationInfo *spec_info = stages[i]->pSpecializationInfo; in radv_hash_shaders() local123 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()
79 const VkSpecializationInfo *spec_info);