diff options
Diffstat (limited to 'src/video_core/shader')
| -rw-r--r-- | src/video_core/shader/node.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/shader/node.h b/src/video_core/shader/node.h index 5db9313c4..0397f4c6e 100644 --- a/src/video_core/shader/node.h +++ b/src/video_core/shader/node.h | |||
| @@ -303,6 +303,10 @@ public: | |||
| 303 | return is_bindless; | 303 | return is_bindless; |
| 304 | } | 304 | } |
| 305 | 305 | ||
| 306 | std::pair<u32, u32> GetBindlessCBuf() const { | ||
| 307 | return {static_cast<u32>(offset >> 32), static_cast<u32>(offset)}; | ||
| 308 | } | ||
| 309 | |||
| 306 | bool operator<(const Image& rhs) const { | 310 | bool operator<(const Image& rhs) const { |
| 307 | return std::tie(offset, index, type, is_bindless) < | 311 | return std::tie(offset, index, type, is_bindless) < |
| 308 | std::tie(rhs.offset, rhs.index, rhs.type, rhs.is_bindless); | 312 | std::tie(rhs.offset, rhs.index, rhs.type, rhs.is_bindless); |