mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-13 07:08:50 +01:00
[d3d9] Pass shader stage when binding format conversion resources
This commit is contained in:
parent
d05864cbcb
commit
0fb1227792
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user