mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[dxbc] Remove spammy debug logging
This commit is contained in:
parent
e3f047a96a
commit
95e12decf1
3 changed files with 0 additions and 31 deletions
|
@ -87,20 +87,6 @@ namespace dxvk {
|
||||||
return result;
|
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(
|
bool DxbcIsgn::compareSemanticNames(
|
||||||
const std::string& a, const std::string& b) {
|
const std::string& a, const std::string& b) {
|
||||||
|
|
|
@ -55,8 +55,6 @@ namespace dxvk {
|
||||||
|
|
||||||
uint32_t maxRegisterCount() const;
|
uint32_t maxRegisterCount() const;
|
||||||
|
|
||||||
void printEntries() const;
|
|
||||||
|
|
||||||
static bool compareSemanticNames(
|
static bool compareSemanticNames(
|
||||||
const std::string& a,
|
const std::string& a,
|
||||||
const std::string& b);
|
const std::string& b);
|
||||||
|
|
|
@ -30,21 +30,6 @@ namespace dxvk {
|
||||||
m_module.addDebugString(fileName.c_str()),
|
m_module.addDebugString(fileName.c_str()),
|
||||||
nullptr);
|
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.
|
// Set the memory model. This is the same for all shaders.
|
||||||
m_module.enableCapability(
|
m_module.enableCapability(
|
||||||
spv::CapabilityVulkanMemoryModel);
|
spv::CapabilityVulkanMemoryModel);
|
||||||
|
|
Loading…
Add table
Reference in a new issue