Commit dd81f485 authored by Charmaine Lee's avatar Charmaine Lee Committed by Marge Bot

llvmpipe: do not enable tessellation shader without llvm coroutines support

Tessellation shader in llvmpipe depends on llvm coroutines support. So do not
advertise tessellation shader support in llvmpipe if GALLIVM_HAVE_CORO is FALSE.

This fixes assertion in LLVMTokenTypeInContext() running tessellation shader
tests with llvm version < 6.

Fixes: eb522717 "llvmpipe: add support for tessellation shaders"
Reviewed-by: default avatarRoland Scheidegger <>
Reviewed-by: default avatarDave Airlie <>
Reviewed-by: Brian Paul's avatarBrian Paul <>
Reviewed-by: Neha Bhende's avatarNeha Bhende <>
Part-of: <!5366>
parent 990b3782
Pipeline #157144 passed with stages
in 14 minutes and 55 seconds