mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
r600/sfn: add emit if start cayman support
Reviewed-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5084>
This commit is contained in:
parent
4746796b82
commit
b11aa12253
1 changed files with 2 additions and 2 deletions
|
|
@ -485,11 +485,11 @@ bool AssemblyFromShaderLegacyImpl::emit_export(const ExportInstruction & exi)
|
|||
|
||||
bool AssemblyFromShaderLegacyImpl::emit_if_start(const IfInstruction & if_instr)
|
||||
{
|
||||
assert(m_bc->chip_class == EVERGREEN);
|
||||
|
||||
bool needs_workaround = false;
|
||||
int elems = m_callstack.push(FC_PUSH_VPM);
|
||||
|
||||
if (m_bc->chip_class == CAYMAN && m_bc->stack.loop > 1)
|
||||
needs_workaround = true;
|
||||
if (m_bc->family != CHIP_HEMLOCK &&
|
||||
m_bc->family != CHIP_CYPRESS &&
|
||||
m_bc->family != CHIP_JUNIPER) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue