swr/rast: Shader debugging work

- Move debug .ll files to JIT_CACHE_DIR
- Don't link against jitter SRGBLut table, add global data to shader that needs it.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
George Kyriazis 2018-01-19 15:47:01 -06:00
parent 34bbcb5052
commit e9e7f3ce0a

View File

@ -49,6 +49,12 @@ Constant *C(const std::initializer_list<Ty> &constList)
return ConstantVector::get(vConsts);
}
template<typename Ty>
Constant *CA(LLVMContext& ctx, ArrayRef<Ty> constList)
{
return ConstantDataArray::get(ctx, constList);
}
Constant *PRED(bool pred);
Value *VIMMED1(int i);