diff options
author | Bas Nieuwenhuizen <[email protected]> | 2017-10-20 01:42:34 +0200 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-10-20 06:11:10 +0100 |
commit | 6e21b7a2947dc0dd7e8265395a43af516a0622cf (patch) | |
tree | 3f0c90c490037def5ccd5730fd2710a78265040c | |
parent | 5bc5e07d81c8eccb3645260ca4072e652d0cf052 (diff) |
radv: Use control shader presence for detecting tess.
Reviewed-by: Dave Airlie <[email protected]>
-rw-r--r-- | src/amd/vulkan/radv_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index acfe9d37ba4..10b7983760d 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -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, |