mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-02 04:29:14 +01:00
[dxvk] Fixed bug where resource bindings would not be updated after rebinding the pipeline
This commit is contained in:
parent
4d01517dd8
commit
c44b50ae4d
@ -177,9 +177,15 @@ namespace dxvk {
|
|||||||
if (shaderStage->shader != shader) {
|
if (shaderStage->shader != shader) {
|
||||||
shaderStage->shader = shader;
|
shaderStage->shader = shader;
|
||||||
|
|
||||||
m_flags.set(stage == VK_SHADER_STAGE_COMPUTE_BIT
|
if (stage == VK_SHADER_STAGE_COMPUTE_BIT) {
|
||||||
? DxvkContextFlag::CpDirtyPipeline
|
m_flags.set(
|
||||||
: DxvkContextFlag::GpDirtyPipeline);
|
DxvkContextFlag::CpDirtyPipeline,
|
||||||
|
DxvkContextFlag::CpDirtyResources);
|
||||||
|
} else {
|
||||||
|
m_flags.set(
|
||||||
|
DxvkContextFlag::GpDirtyPipeline,
|
||||||
|
DxvkContextFlag::GpDirtyResources);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user