Skip to content

llvmpipe: do not enable tessellation shader without llvm coroutines support

Charmaine Lee requested to merge charmainel/mesa:llvm-tess into master

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"

/cc @sroland @airlied

Edited by Charmaine Lee

Merge request reports

Loading