radv: Add mesh shader specific info.
Use the same old outinfo structure as other NGG shaders. Additionally, store the output primitive type. Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13580>
This commit is contained in:
@@ -2349,6 +2349,8 @@ get_vs_output_info(const struct radv_pipeline *pipeline)
|
||||
return &pipeline->gs_copy_shader->info.vs.outinfo;
|
||||
else if (radv_pipeline_has_tess(pipeline))
|
||||
return &pipeline->shaders[MESA_SHADER_TESS_EVAL]->info.tes.outinfo;
|
||||
else if (radv_pipeline_has_mesh(pipeline))
|
||||
return &pipeline->shaders[MESA_SHADER_MESH]->info.ms.outinfo;
|
||||
else
|
||||
return &pipeline->shaders[MESA_SHADER_VERTEX]->info.vs.outinfo;
|
||||
}
|
||||
|
Reference in New Issue
Block a user