Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4609>
void Instruction::add_remappable_src_value(PValue *v)
{
- m_mappable_src_registers.push_back(v);
+ if (*v)
+ m_mappable_src_registers.push_back(v);
}
void Instruction::add_remappable_src_value(GPRVector *v)
void Instruction::add_remappable_dst_value(PValue *v)
{
- m_mappable_dst_registers.push_back(v);
+ if (v)
+ m_mappable_dst_registers.push_back(v);
}
void Instruction::add_remappable_dst_value(GPRVector *v)