mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-24 07:50:26 +00:00
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:
parent
34bbcb5052
commit
e9e7f3ce0a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user