From 69b15b7fe68ce462f8e2ba05897e45f09718049a Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Sun, 7 Aug 2022 14:08:10 +0200 Subject: [PATCH] [dxvk] Use new resource view binding methods in swapchain blitter --- src/dxvk/dxvk_swapchain_blitter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dxvk/dxvk_swapchain_blitter.cpp b/src/dxvk/dxvk_swapchain_blitter.cpp index 603e1497..eca02445 100644 --- a/src/dxvk/dxvk_swapchain_blitter.cpp +++ b/src/dxvk/dxvk_swapchain_blitter.cpp @@ -194,8 +194,8 @@ namespace dxvk { ctx->bindResourceSampler(VK_SHADER_STAGE_FRAGMENT_BIT, BindingIds::Image, Rc(m_samplerPresent)); ctx->bindResourceSampler(VK_SHADER_STAGE_FRAGMENT_BIT, BindingIds::Gamma, Rc(m_samplerGamma)); - ctx->bindResourceView(VK_SHADER_STAGE_FRAGMENT_BIT, BindingIds::Image, Rc(srcView), nullptr); - ctx->bindResourceView(VK_SHADER_STAGE_FRAGMENT_BIT, BindingIds::Gamma, Rc(m_gammaView), nullptr); + ctx->bindResourceImageView(VK_SHADER_STAGE_FRAGMENT_BIT, BindingIds::Image, Rc(srcView)); + ctx->bindResourceImageView(VK_SHADER_STAGE_FRAGMENT_BIT, BindingIds::Gamma, Rc(m_gammaView)); ctx->bindShader(VK_SHADER_STAGE_VERTEX_BIT, Rc(m_vs)); ctx->bindShader(VK_SHADER_STAGE_FRAGMENT_BIT, Rc(fs));