mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
radv: Use control shader presence for detecting tess.
Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
5bc5e07d81
commit
6e21b7a294
1 changed files with 1 additions and 1 deletions
|
|
@ -1122,7 +1122,7 @@ static inline bool radv_pipeline_has_gs(struct radv_pipeline *pipeline)
|
|||
|
||||
static inline bool radv_pipeline_has_tess(struct radv_pipeline *pipeline)
|
||||
{
|
||||
return pipeline->shaders[MESA_SHADER_TESS_EVAL] ? true : false;
|
||||
return pipeline->shaders[MESA_SHADER_TESS_CTRL] ? true : false;
|
||||
}
|
||||
|
||||
struct ac_userdata_info *radv_lookup_user_sgpr(struct radv_pipeline *pipeline,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue