mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-30 11:52:11 +01:00
[dxvk] Removed unused resource warning
This commit is contained in:
parent
5dd9fea011
commit
38fa9ce9c9
@ -1086,7 +1086,6 @@ namespace dxvk {
|
|||||||
|
|
||||||
m_cmd->trackResource(res.sampler);
|
m_cmd->trackResource(res.sampler);
|
||||||
} else {
|
} else {
|
||||||
Logger::warn(str::format("Binding ", i, ": Unused ", binding.type));
|
|
||||||
updatePipelineState |= bs.setUnbound(i);
|
updatePipelineState |= bs.setUnbound(i);
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
@ -1102,7 +1101,6 @@ namespace dxvk {
|
|||||||
m_cmd->trackResource(res.imageView);
|
m_cmd->trackResource(res.imageView);
|
||||||
m_cmd->trackResource(res.imageView->image());
|
m_cmd->trackResource(res.imageView->image());
|
||||||
} else {
|
} else {
|
||||||
Logger::warn(str::format("Binding ", i, ": Unused ", binding.type));
|
|
||||||
updatePipelineState |= bs.setUnbound(i);
|
updatePipelineState |= bs.setUnbound(i);
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
@ -1116,7 +1114,6 @@ namespace dxvk {
|
|||||||
m_cmd->trackResource(res.bufferView);
|
m_cmd->trackResource(res.bufferView);
|
||||||
m_cmd->trackResource(res.bufferView->buffer()->resource());
|
m_cmd->trackResource(res.bufferView->buffer()->resource());
|
||||||
} else {
|
} else {
|
||||||
Logger::warn(str::format("Binding ", i, ": Unused ", binding.type));
|
|
||||||
updatePipelineState |= bs.setUnbound(i);
|
updatePipelineState |= bs.setUnbound(i);
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
@ -1128,7 +1125,6 @@ namespace dxvk {
|
|||||||
m_descriptors[i].buffer = res.bufferSlice.descriptorInfo();
|
m_descriptors[i].buffer = res.bufferSlice.descriptorInfo();
|
||||||
m_cmd->trackResource(res.bufferSlice.resource());
|
m_cmd->trackResource(res.bufferSlice.resource());
|
||||||
} else {
|
} else {
|
||||||
Logger::warn(str::format("Binding ", i, ": Unused ", binding.type));
|
|
||||||
updatePipelineState |= bs.setUnbound(i);
|
updatePipelineState |= bs.setUnbound(i);
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user