projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7b497f
)
r600/sfn: Update resource based instruction index mode check
author
Gert Wollny
<gert.wollny@collabora.com>
Fri, 10 Feb 2023 15:13:04 +0000
(16:13 +0100)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 28 Apr 2023 13:13:55 +0000
(13:13 +0000)
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21347>
src/gallium/drivers/r600/sfn/sfn_instr.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/sfn/sfn_instr.h
b/src/gallium/drivers/r600/sfn/sfn_instr.h
index c8ca38f3db345eb9cccd298b0f0b8d593847972b..4f4d06875c87d6315649c709fbb70b0090d303fc 100644
(file)
--- a/
src/gallium/drivers/r600/sfn/sfn_instr.h
+++ b/
src/gallium/drivers/r600/sfn/sfn_instr.h
@@
-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;