kepler_compute: Implement texture queries
This commit is contained in:
parent
2e5b5c2358
commit
3a450c1395
5 changed files with 99 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue