radv: add radv_shader_stage::next_stage field
This allows to init radv_shader_info correctly when the next stage is known, this is mostly for ESO. Though, next_stage could be used in other places too. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26930>
This commit is contained in:

committed by
Marge Bot

parent
a12019cc91
commit
1dbb859b3b
@@ -227,6 +227,7 @@ radv_pipeline_stage_init(const VkPipelineShaderStageCreateInfo *sinfo,
|
||||
memset(out_stage, 0, sizeof(*out_stage));
|
||||
|
||||
out_stage->stage = vk_to_mesa_shader_stage(sinfo->stage);
|
||||
out_stage->next_stage = MESA_SHADER_NONE;
|
||||
out_stage->entrypoint = sinfo->pName;
|
||||
out_stage->spec_info = sinfo->pSpecializationInfo;
|
||||
out_stage->feedback.flags = VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT;
|
||||
|
Reference in New Issue
Block a user