From 61fdf4ef6463c156e1f690ea707c229d1215e95b Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Wed, 9 Jan 2019 17:18:32 +0100 Subject: [PATCH] [dxvk] Use DxvkBufferSliceHandle for dummy resources --- src/dxvk/dxvk_unbound.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/dxvk/dxvk_unbound.h b/src/dxvk/dxvk_unbound.h index f13d6882..5e511979 100644 --- a/src/dxvk/dxvk_unbound.h +++ b/src/dxvk/dxvk_unbound.h @@ -29,7 +29,7 @@ namespace dxvk { * \returns Dummy buffer handle */ VkBuffer bufferHandle() const { - return m_buffer->slice().handle(); + return m_buffer->getSliceHandle().handle; } /** @@ -41,12 +41,12 @@ namespace dxvk { * \returns Dummy buffer descriptor */ VkDescriptorBufferInfo bufferDescriptor() const { - auto slice = m_buffer->slice(); + auto slice = m_buffer->getSliceHandle(); VkDescriptorBufferInfo result; - result.buffer = slice.handle(); - result.offset = slice.offset(); - result.range = slice.length(); + result.buffer = slice.handle; + result.offset = slice.offset; + result.range = slice.length; return result; }