mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 12:30:09 +01:00
r600/sfn: Fix IDX register ID
Fixes: 9a6b11a733
r600/sfn: Fix indirect const buffer access
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6925>
This commit is contained in:
parent
7683e27561
commit
48edb98a7e
1 changed files with 1 additions and 1 deletions
|
|
@ -1119,7 +1119,7 @@ AssemblyFromShaderLegacyImpl::emit_index_reg(const Value& addr, unsigned idx)
|
|||
m_bc->index_loaded[idx] = true;
|
||||
sfn_log << SfnLog::assembly << "\n";
|
||||
}
|
||||
return idx == 1 ? bim_zero : bim_one;
|
||||
return idx == 0 ? bim_zero : bim_one;
|
||||
}
|
||||
|
||||
bool AssemblyFromShaderLegacyImpl::copy_dst(r600_bytecode_alu_dst& dst,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue