mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-29 08:41:20 +00:00
renderer: log unsupported depth feedback once
This commit is contained in:
1 parent
d58aefde49
commit
b899717900
1 file changed
+4
-1
@@ -536,7 +536,10 @@ RenderState RenderExecutor::AcquireRenderTargets(CommandBuffer& buffer, RenderCo
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (feedback_aspects && !m_context.GetGraphics().attachment_feedback_loop_enabled) {
|
if (feedback_aspects && !m_context.GetGraphics().attachment_feedback_loop_enabled) {
|
||||||
EXIT("depth attachment feedback loop is not supported by the host\n");
|
static std::atomic_bool logged = false;
|
||||||
|
if (!logged.exchange(true, std::memory_order_relaxed)) {
|
||||||
|
std::printf("depth attachment feedback loop is not supported by the host\n");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
auto layout = depth_attachment_layout(depth);
|
auto layout = depth_attachment_layout(depth);
|
||||||
if (sampled_aspects & ~DepthReadableAspects(layout)) {
|
if (sampled_aspects & ~DepthReadableAspects(layout)) {
|
||||||
|
|||||||
Reference in new issue
Block a user