1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-18 02:52:10 +01:00

[dxvk] Removed unused resource warning

This commit is contained in:
Philip Rebohle 2018-01-12 14:49:08 +01:00
parent 5dd9fea011
commit 38fa9ce9c9

View File

@ -1086,7 +1086,6 @@ namespace dxvk {
m_cmd->trackResource(res.sampler);
} else {
Logger::warn(str::format("Binding ", i, ": Unused ", binding.type));
updatePipelineState |= bs.setUnbound(i);
} break;
@ -1102,7 +1101,6 @@ namespace dxvk {
m_cmd->trackResource(res.imageView);
m_cmd->trackResource(res.imageView->image());
} else {
Logger::warn(str::format("Binding ", i, ": Unused ", binding.type));
updatePipelineState |= bs.setUnbound(i);
} break;
@ -1116,7 +1114,6 @@ namespace dxvk {
m_cmd->trackResource(res.bufferView);
m_cmd->trackResource(res.bufferView->buffer()->resource());
} else {
Logger::warn(str::format("Binding ", i, ": Unused ", binding.type));
updatePipelineState |= bs.setUnbound(i);
} break;
@ -1128,7 +1125,6 @@ namespace dxvk {
m_descriptors[i].buffer = res.bufferSlice.descriptorInfo();
m_cmd->trackResource(res.bufferSlice.resource());
} else {
Logger::warn(str::format("Binding ", i, ": Unused ", binding.type));
updatePipelineState |= bs.setUnbound(i);
} break;