mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 18:58:10 +02:00
r600/sfn: Update resource based instruction index mode check
Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21347>
This commit is contained in:
parent
e7b497fe87
commit
af3d496253
1 changed files with 2 additions and 1 deletions
|
|
@ -294,8 +294,9 @@ public:
|
|||
|
||||
auto buffer_index_mode() const -> EBufferIndexMode
|
||||
{
|
||||
if (!m_offset)
|
||||
if (!m_offset || !m_offset->has_flag(Register::addr_or_idx))
|
||||
return bim_none;
|
||||
|
||||
switch (m_offset->sel()) {
|
||||
case 1:
|
||||
return bim_zero;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue