diff options
| author | 2019-07-11 21:54:07 -0300 | |
|---|---|---|
| committer | 2019-09-05 20:35:51 -0300 | |
| commit | 3a450c1395cdb8b4f73687f8c49648e9190fc3a0 (patch) | |
| tree | 4be17483ce66e8631bea393f9ca557da3af61214 /src/video_core/shader/node.h | |
| parent | gl_rasterizer: Split SetupTextures (diff) | |
| download | yuzu-3a450c1395cdb8b4f73687f8c49648e9190fc3a0.tar.gz yuzu-3a450c1395cdb8b4f73687f8c49648e9190fc3a0.tar.xz yuzu-3a450c1395cdb8b4f73687f8c49648e9190fc3a0.zip | |
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 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); |