radv: add small helper to denote when a geom shader is in the pipeline.
Review-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
0b63f47030
commit
f26fa879b7
|
@ -941,6 +941,11 @@ struct radv_pipeline {
|
|||
unsigned scratch_bytes_per_wave;
|
||||
};
|
||||
|
||||
static inline bool radv_pipeline_has_gs(struct radv_pipeline *pipeline)
|
||||
{
|
||||
return pipeline->shaders[MESA_SHADER_GEOMETRY] ? true : false;
|
||||
}
|
||||
|
||||
struct radv_graphics_pipeline_create_info {
|
||||
bool use_rectlist;
|
||||
bool db_depth_clear;
|
||||
|
|
Loading…
Reference in New Issue