Lines Matching defs:info

36 vk_pipeline_shader_stage_is_null(const VkPipelineShaderStageCreateInfo *info)
38 if (info->module != VK_NULL_HANDLE)
41 vk_foreach_struct_const(ext, info->pNext) {
51 get_required_subgroup_size(const VkPipelineShaderStageCreateInfo *info)
54 vk_find_struct_const(info->pNext,
61 const VkPipelineShaderStageCreateInfo *info,
66 VK_FROM_HANDLE(vk_shader_module, module, info->module);
67 const gl_shader_stage stage = vk_to_mesa_shader_stage(info->stage);
69 assert(info->sType == VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO);
72 assert(module->nir->info.stage == stage);
76 assert(strcmp(nir_name, info->pName) == 0);
98 vk_find_struct_const(info->pNext, SHADER_MODULE_CREATE_INFO);
108 uint32_t req_subgroup_size = get_required_subgroup_size(info);
113 } else if (info->flags & VK_PIPELINE_SHADER_STAGE_CREATE_ALLOW_VARYING_SUBGROUP_SIZE_BIT ||
117 } else if (info->flags & VK_PIPELINE_SHADER_STAGE_CREATE_REQUIRE_FULL_SUBGROUPS_BIT) {
125 info->pName, subgroup_size,
126 info->pSpecializationInfo,
137 vk_pipeline_hash_shader_stage(const VkPipelineShaderStageCreateInfo *info,
140 VK_FROM_HANDLE(vk_shader_module, module, info->module);
144 * We don't need to hash other info fields since they should match the
147 assert(module->nir->info.stage == vk_to_mesa_shader_stage(info->stage));
149 assert(strcmp(entrypoint->function->name, info->pName) == 0);
150 assert(info->pSpecializationInfo == NULL);
163 vk_find_struct_const(info->pNext, SHADER_MODULE_CREATE_INFO);
165 vk_find_struct_const(info->pNext, PIPELINE_SHADER_STAGE_MODULE_IDENTIFIER_CREATE_INFO_EXT);
171 _mesa_sha1_update(&ctx, &info->flags, sizeof(info->flags));
173 assert(util_bitcount(info->stage) == 1);
174 _mesa_sha1_update(&ctx, &info->stage, sizeof(info->stage));
191 _mesa_sha1_update(&ctx, info->pName, strlen(info->pName));
193 if (info->pSpecializationInfo) {
194 _mesa_sha1_update(&ctx, info->pSpecializationInfo->pMapEntries,
195 info->pSpecializationInfo->mapEntryCount *
196 sizeof(*info->pSpecializationInfo->pMapEntries));
197 _mesa_sha1_update(&ctx, info->pSpecializationInfo->pData,
198 info->pSpecializationInfo->dataSize);
201 uint32_t req_subgroup_size = get_required_subgroup_size(info);