mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-28 05:46:56 +01:00
shader: resolve GPU-selected parent pointers and bounded child image tables
Co-authored-by: fxpw <fxpw@outlook.com>
This commit is contained in:
@@ -549,9 +549,17 @@ struct DescriptorSource {
|
||||
|
||||
bool operator==(const SelectorRead& other) const = default;
|
||||
};
|
||||
struct PointerTable {
|
||||
uint32_t offset = 0;
|
||||
uint32_t stride = 0;
|
||||
uint32_t count = 1;
|
||||
bool indexed = false; // Parent pointers use raw MUBUF record addressing.
|
||||
|
||||
bool operator==(const PointerTable& other) const = default;
|
||||
};
|
||||
std::optional<SelectorRead> selector;
|
||||
std::optional<uint32_t> table_maximum;
|
||||
std::optional<uint32_t> pointer_offset;
|
||||
std::optional<PointerTable> pointer_table;
|
||||
uint32_t table_source = 0;
|
||||
uint32_t table_offset = 0;
|
||||
uint32_t table_immediate = 0;
|
||||
|
||||
Reference in New Issue
Block a user