Module: Mesa Branch: master Commit: 6e21b7a2947dc0dd7e8265395a43af516a0622cf URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e21b7a2947dc0dd7e8265395a43af516a0622cf
Author: Bas Nieuwenhuizen <[email protected]> Date: Fri Oct 20 01:42:34 2017 +0200 radv: Use control shader presence for detecting tess. Reviewed-by: Dave Airlie <[email protected]> --- src/amd/vulkan/radv_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index acfe9d37ba..10b7983760 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, _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
