mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-29 17:52:18 +01:00
[dxvk] Added debug messages for unbound resources
This commit is contained in:
parent
5f5bb69fa7
commit
d1d5f10520
@ -1071,6 +1071,7 @@ namespace dxvk {
|
||||
|
||||
m_cmd->trackResource(res.sampler);
|
||||
} else {
|
||||
Logger::warn(str::format("Binding ", i, ": Unused ", binding.type));
|
||||
updatePipelineState |= bs.setUnbound(i);
|
||||
} break;
|
||||
|
||||
@ -1086,6 +1087,7 @@ 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;
|
||||
|
||||
@ -1099,6 +1101,7 @@ 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;
|
||||
|
||||
@ -1110,6 +1113,7 @@ 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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user