From 53519e2bd5dcfce3418a57a6dd4f7ffdc1319939 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Thu, 2 Jun 2022 20:04:12 +0200 Subject: [PATCH] [dxvk] Remove old resource binding methods --- src/dxvk/dxvk_context.cpp | 22 ---------------------- src/dxvk/dxvk_context.h | 13 ------------- 2 files changed, 35 deletions(-) diff --git a/src/dxvk/dxvk_context.cpp b/src/dxvk/dxvk_context.cpp index 2fa3011b..2d78c907 100644 --- a/src/dxvk/dxvk_context.cpp +++ b/src/dxvk/dxvk_context.cpp @@ -151,13 +151,6 @@ namespace dxvk { VkShaderStageFlags stages, uint32_t slot, const DxvkBufferSlice& buffer) { - bindResourceBuffer(slot, buffer); - } - - - void DxvkContext::bindResourceBuffer( - uint32_t slot, - const DxvkBufferSlice& buffer) { bool needsUpdate = !m_rc[slot].bufferSlice.matchesBuffer(buffer); if (likely(needsUpdate)) @@ -184,14 +177,6 @@ namespace dxvk { uint32_t slot, const Rc& imageView, const Rc& bufferView) { - bindResourceView(slot, imageView, bufferView); - } - - - void DxvkContext::bindResourceView( - uint32_t slot, - const Rc& imageView, - const Rc& bufferView) { m_rc[slot].imageView = imageView; m_rc[slot].bufferView = bufferView; m_rc[slot].bufferSlice = bufferView != nullptr @@ -209,13 +194,6 @@ namespace dxvk { VkShaderStageFlags stages, uint32_t slot, const Rc& sampler) { - bindResourceSampler(slot, sampler); - } - - - void DxvkContext::bindResourceSampler( - uint32_t slot, - const Rc& sampler) { m_rc[slot].sampler = sampler; m_rcTracked.clr(slot); diff --git a/src/dxvk/dxvk_context.h b/src/dxvk/dxvk_context.h index 9e77003e..5cda9248 100644 --- a/src/dxvk/dxvk_context.h +++ b/src/dxvk/dxvk_context.h @@ -118,10 +118,6 @@ namespace dxvk { uint32_t slot, const DxvkBufferSlice& buffer); - void bindResourceBuffer( - uint32_t slot, - const DxvkBufferSlice& buffer); - /** * \brief Binds image or buffer view * @@ -139,11 +135,6 @@ namespace dxvk { const Rc& imageView, const Rc& bufferView); - void bindResourceView( - uint32_t slot, - const Rc& imageView, - const Rc& bufferView); - /** * \brief Binds image sampler * @@ -158,10 +149,6 @@ namespace dxvk { uint32_t slot, const Rc& sampler); - void bindResourceSampler( - uint32_t slot, - const Rc& sampler); - /** * \brief Binds a shader to a given state *