mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-14 04:29:15 +01:00
[dxvk] Added new convenient buffer slice constructor
This commit is contained in:
parent
7cc65be16b
commit
5cfbb74455
@ -240,6 +240,10 @@ namespace dxvk {
|
||||
public:
|
||||
|
||||
DxvkBufferSlice() { }
|
||||
|
||||
explicit DxvkBufferSlice(const Rc<DxvkBuffer>& buffer)
|
||||
: DxvkBufferSlice(buffer, 0, buffer->info().size) { }
|
||||
|
||||
DxvkBufferSlice(
|
||||
const Rc<DxvkBuffer>& buffer,
|
||||
VkDeviceSize rangeOffset,
|
||||
|
Loading…
x
Reference in New Issue
Block a user