mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-02 01:24:11 +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) {
|
||||
shaderStage->shader = shader;
|
||||
|
||||
m_flags.set(stage == VK_SHADER_STAGE_COMPUTE_BIT
|
||||
? DxvkContextFlag::CpDirtyPipeline
|
||||
: DxvkContextFlag::GpDirtyPipeline);
|
||||
if (stage == VK_SHADER_STAGE_COMPUTE_BIT) {
|
||||
m_flags.set(
|
||||
DxvkContextFlag::CpDirtyPipeline,
|
||||
DxvkContextFlag::CpDirtyResources);
|
||||
} else {
|
||||
m_flags.set(
|
||||
DxvkContextFlag::GpDirtyPipeline,
|
||||
DxvkContextFlag::GpDirtyResources);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user