mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
swr: [rasterizer jitter] adjust jitmanager assert
Signed-off-by: Tim Rowley <timothy.o.rowley@intel.com>
This commit is contained in:
parent
eaec263427
commit
185a531206
1 changed files with 4 additions and 1 deletions
|
|
@ -239,9 +239,12 @@ bool JitManager::SetupModuleFromIR(const uint8_t *pIR)
|
|||
SMDiagnostic Err;
|
||||
std::unique_ptr<Module> newModule = parseIR(pMem.get()->getMemBufferRef(), Err, mContext);
|
||||
|
||||
SWR_REL_ASSERT(
|
||||
!(newModule == nullptr),
|
||||
"Parse failed!\n"
|
||||
"%s", Err.getMessage().data());
|
||||
if (newModule == nullptr)
|
||||
{
|
||||
SWR_ASSERT(0, "Parse failed! Check Err for details.");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue