From 0fb1227792771862cc86dc729e182ec4a6cd6181 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Thu, 2 Jun 2022 19:46:55 +0200 Subject: [PATCH] [d3d9] Pass shader stage when binding format conversion resources --- src/d3d9/d3d9_format_helpers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/d3d9/d3d9_format_helpers.cpp b/src/d3d9/d3d9_format_helpers.cpp index e528f90cf..09034bb25 100644 --- a/src/d3d9/d3d9_format_helpers.cpp +++ b/src/d3d9/d3d9_format_helpers.cpp @@ -96,8 +96,8 @@ namespace dxvk { if (specConstantValue) m_context->setSpecConstant(VK_PIPELINE_BIND_POINT_COMPUTE, 0, specConstantValue); - m_context->bindResourceView(BindingIds::Image, tmpImageView, nullptr); - m_context->bindResourceView(BindingIds::Buffer, nullptr, tmpBufferView); + m_context->bindResourceView(VK_SHADER_STAGE_COMPUTE_BIT, BindingIds::Image, tmpImageView, nullptr); + m_context->bindResourceView(VK_SHADER_STAGE_COMPUTE_BIT, BindingIds::Buffer, nullptr, tmpBufferView); m_context->bindShader(VK_SHADER_STAGE_COMPUTE_BIT, m_shaders[videoFormat.FormatType]); m_context->pushConstants(0, sizeof(VkExtent2D), &imageExtent); m_context->dispatch(