1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-27 04:54:15 +01:00

[dxbc] Remove spammy debug logging

This commit is contained in:
Philip Rebohle 2025-02-24 15:40:52 +01:00
parent e3f047a96a
commit 95e12decf1
3 changed files with 0 additions and 31 deletions

View File

@ -87,20 +87,6 @@ namespace dxvk {
return result;
}
void DxbcIsgn::printEntries() const {
for (auto entry = this->begin(); entry != this->end(); entry++) {
Logger::debug(str::format("SGN Entry:\n\t",
"semanticName: ", entry->semanticName, "\n\t",
"semanticIndex: ", entry->semanticIndex, "\n\t",
"registerId: ", entry->registerId, "\n\t",
"componentMask: ", entry->componentMask.maskString(), "\n\t",
"componentType: ", entry->componentType, "\n\t",
"systemValue: ", entry->systemValue, "\n\t",
"streamId: ", entry->streamId, "\n",
"\n"));
}
}
bool DxbcIsgn::compareSemanticNames(
const std::string& a, const std::string& b) {

View File

@ -55,8 +55,6 @@ namespace dxvk {
uint32_t maxRegisterCount() const;
void printEntries() const;
static bool compareSemanticNames(
const std::string& a,
const std::string& b);

View File

@ -30,21 +30,6 @@ namespace dxvk {
m_module.addDebugString(fileName.c_str()),
nullptr);
if (Logger::logLevel() <= LogLevel::Debug) {
if (m_isgn != nullptr) {
Logger::debug(str::format("Input Signature for - ", fileName.c_str(), "\n"));
m_isgn->printEntries();
}
if (m_osgn != nullptr) {
Logger::debug(str::format("Output Signature for - ", fileName.c_str(), "\n"));
m_osgn->printEntries();
}
if (m_psgn != nullptr) {
Logger::debug(str::format("Patch Constant Signature for - ", fileName.c_str(), "\n"));
m_psgn->printEntries();
}
}
// Set the memory model. This is the same for all shaders.
m_module.enableCapability(
spv::CapabilityVulkanMemoryModel);