mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-29 08:41:20 +00:00
shader: support indirect BUFFER_LOAD_DWORDX3
This commit is contained in:
1 parent
cce0cd950c
commit
392f39e2f6
4 files changed
+33
-13
No files matched your search
@@ -69,6 +69,12 @@ struct MemoryInfo {
|
||||
bool offen = false;
|
||||
bool planning_only = false;
|
||||
|
||||
[[nodiscard]] bool SupportsIndirectBufferLoad(ValueOpcode opcode) const {
|
||||
return !formatted && !typed && data_bits == 32u &&
|
||||
(opcode == ValueOpcode::LoadBufferU32x2 || opcode == ValueOpcode::LoadBufferU32x3 ||
|
||||
opcode == ValueOpcode::LoadBufferU32x4);
|
||||
}
|
||||
|
||||
bool operator==(const MemoryInfo& other) const = default;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user