diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-07-11 21:54:07 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-09-05 20:35:51 -0300 |
| commit | 9fb31b1b231ea2ea4f7eb9d4e1a2b2e5dcc20e97 (patch) | |
| tree | 4be17483ce66e8631bea393f9ca557da3af61214 /src/video_core/shader/node.h | |
| parent | 0ea5b1a33983c4144615715dcb6a686d0d073c49 (diff) | |
kepler_compute: Implement texture queries
Diffstat (limited to 'src/video_core/shader/node.h')
| -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 5db9313c48..0397f4c6e0 100644 --- a/src/video_core/shader/node.h +++ b/src/video_core/shader/node.h @@ -303,6 +303,10 @@ public: return is_bindless; } + std::pair<u32, u32> GetBindlessCBuf() const { + return {static_cast<u32>(offset >> 32), static_cast<u32>(offset)}; + } + bool operator<(const Image& rhs) const { return std::tie(offset, index, type, is_bindless) < std::tie(rhs.offset, rhs.index, rhs.type, rhs.is_bindless); |
