mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-29 08:41:20 +00:00
shader: separate exact descriptor row bounds from pointer offsets
This commit is contained in:
1 parent
487bbf95fd
commit
04cb4c6553
4 files changed
+15
-19
No files matched your search
@@ -525,12 +525,6 @@ struct ShaderInfo {
|
||||
|
||||
struct DescriptorSource {
|
||||
struct IndirectDescriptor {
|
||||
struct PointerTable {
|
||||
uint32_t maximum = 0;
|
||||
uint32_t offset = 0;
|
||||
|
||||
bool operator==(const PointerTable&) const = default;
|
||||
};
|
||||
struct SelectorRead {
|
||||
struct CountedRows {
|
||||
uint32_t source = UINT32_MAX;
|
||||
@@ -553,7 +547,8 @@ struct DescriptorSource {
|
||||
bool operator==(const SelectorRead& other) const = default;
|
||||
};
|
||||
std::optional<SelectorRead> selector;
|
||||
std::optional<PointerTable> pointer_table;
|
||||
std::optional<uint32_t> table_maximum;
|
||||
std::optional<uint32_t> pointer_offset;
|
||||
uint32_t table_source = 0;
|
||||
uint32_t table_offset = 0;
|
||||
uint32_t table_immediate = 0;
|
||||
|
||||
Reference in new issue
Block a user