mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
swr/rast: Fix llvm5 behavior
For some reason llvm5 is picky about accepting a void * type in the case of building an argument list. Since we don't care about the type (we ignore the argument for now), pick another pointer type Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
parent
d335b32baf
commit
9d80ed0862
1 changed files with 2 additions and 1 deletions
|
|
@ -128,7 +128,8 @@ JitManager::JitManager(uint32_t simdWidth, const char *arch, const char* core)
|
|||
#endif
|
||||
std::vector<Type*> fsArgs;
|
||||
|
||||
fsArgs.push_back(PointerType::get(Type::getVoidTy(mContext), 0));
|
||||
// llvm5 is picky and does not take a void * type
|
||||
fsArgs.push_back(PointerType::get(Gen_SWR_FETCH_CONTEXT(this), 0));
|
||||
|
||||
fsArgs.push_back(PointerType::get(Gen_SWR_FETCH_CONTEXT(this), 0));
|
||||
#if USE_SIMD16_SHADERS
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue