mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 22:20:09 +01:00
radv: add helper function to denote if tess is enabled on a pipeline.
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
97e0ff30c0
commit
0604284e3f
1 changed files with 5 additions and 0 deletions
|
|
@ -982,6 +982,11 @@ static inline bool radv_pipeline_has_gs(struct radv_pipeline *pipeline)
|
|||
return pipeline->shaders[MESA_SHADER_GEOMETRY] ? true : false;
|
||||
}
|
||||
|
||||
static inline bool radv_pipeline_has_tess(struct radv_pipeline *pipeline)
|
||||
{
|
||||
return pipeline->shaders[MESA_SHADER_TESS_EVAL] ? true : false;
|
||||
}
|
||||
|
||||
struct radv_graphics_pipeline_create_info {
|
||||
bool use_rectlist;
|
||||
bool db_depth_clear;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue