1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-03-13 19:29:14 +01:00

[dxvk] Don't clear binding masks in update*Pipeline

Has no effect anymore since the entire mask gets
overridden in updateShaderResources anyway.
This commit is contained in:
Philip Rebohle 2019-10-13 02:18:09 +02:00
parent b25ab4155b
commit 0e578adcf5
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -3554,7 +3554,6 @@ namespace dxvk {
bool DxvkContext::updateComputePipeline() {
m_state.cp.state.bsBindingMask.clear();
m_state.cp.pipeline = lookupComputePipeline(m_state.cp.shaders);
if (unlikely(m_state.cp.pipeline == nullptr))
@ -3603,7 +3602,6 @@ namespace dxvk {
bool DxvkContext::updateGraphicsPipeline() {
m_state.gp.state.bsBindingMask.clear();
m_state.gp.pipeline = lookupGraphicsPipeline(m_state.gp.shaders);
if (unlikely(m_state.gp.pipeline == nullptr)) {