mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 23:40:12 +01:00
radv: Add radv_pipeline_has_task helper.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14929>
This commit is contained in:
parent
285d20d3c5
commit
bb71d1092b
1 changed files with 6 additions and 0 deletions
|
|
@ -2018,6 +2018,12 @@ radv_pipeline_has_mesh(const struct radv_pipeline *pipeline)
|
|||
return !!pipeline->shaders[MESA_SHADER_MESH];
|
||||
}
|
||||
|
||||
static inline bool
|
||||
radv_pipeline_has_task(const struct radv_pipeline *pipeline)
|
||||
{
|
||||
return !!pipeline->shaders[MESA_SHADER_TASK];
|
||||
}
|
||||
|
||||
bool radv_pipeline_has_ngg_passthrough(const struct radv_pipeline *pipeline);
|
||||
|
||||
bool radv_pipeline_has_gs_copy_shader(const struct radv_pipeline *pipeline);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue