debug/pass: show live/precompile blur in debug
This commit is contained in:
parent
cc0792c1dc
commit
a58ab20e8b
1 changed files with 2 additions and 2 deletions
|
|
@ -273,8 +273,8 @@ void CRenderPass::renderDebugData() {
|
||||||
auto yn = [](const bool val) -> const char* { return val ? "yes" : "no"; };
|
auto yn = [](const bool val) -> const char* { return val ? "yes" : "no"; };
|
||||||
auto tick = [](const bool val) -> const char* { return val ? "✔" : "✖"; };
|
auto tick = [](const bool val) -> const char* { return val ? "✔" : "✖"; };
|
||||||
for (const auto& el : m_passElements | std::views::reverse) {
|
for (const auto& el : m_passElements | std::views::reverse) {
|
||||||
passStructure += std::format("{} {} (bb: {} op: {})\n", tick(!el->discard), el->element->passName(), yn(el->element->boundingBox().has_value()),
|
passStructure += std::format("{} {} (bb: {} op: {}, pb: {}, lb: {})\n", tick(!el->discard), el->element->passName(), yn(el->element->boundingBox().has_value()),
|
||||||
yn(!el->element->opaqueRegion().empty()));
|
yn(!el->element->opaqueRegion().empty()), yn(el->element->needsPrecomputeBlur()), yn(el->element->needsLiveBlur()));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!passStructure.empty())
|
if (!passStructure.empty())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue