mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +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