mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-23 23:16:31 +00:00
Support old GEP type instructions
This commit is contained in:
committed by
Baldur Karlsson
parent
4e59f62a96
commit
0ba299366b
@@ -236,7 +236,8 @@ void Program::ParseConstant(ValueList &values, const LLVMBC::BlockOrRecord &cons
|
||||
c->setCompound(alloc, std::move(members));
|
||||
values.addValue();
|
||||
}
|
||||
else if(IS_KNOWN(constant.id, ConstantsRecord::EVAL_GEP))
|
||||
else if(IS_KNOWN(constant.id, ConstantsRecord::EVAL_GEP) ||
|
||||
IS_KNOWN(constant.id, ConstantsRecord::EVAL_GEP_OLD))
|
||||
{
|
||||
Constant *c = values.nextValue<Constant>();
|
||||
|
||||
|
||||
@@ -111,6 +111,7 @@ enum class ConstantsRecord : uint32_t
|
||||
CSTRING = 9,
|
||||
EVAL_BINOP = 10,
|
||||
EVAL_CAST = 11,
|
||||
EVAL_GEP_OLD = 12,
|
||||
EVAL_GEP = 20,
|
||||
DATA = 22,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user