From 3a450c1395cdb8b4f73687f8c49648e9190fc3a0 Mon Sep 17 00:00:00 2001 From: ReinUsesLisp Date: Thu, 11 Jul 2019 21:54:07 -0300 Subject: kepler_compute: Implement texture queries --- src/video_core/shader/node.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/video_core/shader/node.h') 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: return is_bindless; } + std::pair GetBindlessCBuf() const { + return {static_cast(offset >> 32), static_cast(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); -- cgit v1.2.3