Revert "rsx: keep depth buffers for zpass queries"

This reverts commit 2d293d8e5a.
This commit is contained in:
kd-11
2026-09-28 21:38:01 +03:00
committed by GitHub
parent 2d293d8e5a
commit a00d1554fc
3 changed files with 0 additions and 17 deletions
-12
View File
@@ -703,18 +703,6 @@ namespace rsx
void set_zcull_pixel_count_enable(context* ctx, u32, u32)
{
RSX(ctx)->notify_zcull_info_changed();
if (RSX(ctx)->m_graphics_state.test(rsx::rtt_config_dirty) || !RSX(ctx)->m_graphics_state.test(rsx::rtt_config_contested))
{
return;
}
if (RSX(ctx)->check_depth_buffer_active())
{
return;
}
RSX(ctx)->m_graphics_state.set(rsx::rtt_config_dirty);
}
///// Misc (sync objects, etc)
-4
View File
@@ -1563,10 +1563,6 @@ namespace rsx
{
depth_buffer_unused = false;
}
else if (rsx::method_registers.registers[NV4097_SET_ZPASS_PIXEL_COUNT_ENABLE])
{
depth_buffer_unused = false;
}
}
}
-1
View File
@@ -222,7 +222,6 @@ namespace rsx
void capture_frame(const std::string& name) const;
const backend_configuration& get_backend_config() const { return backend_config; }
bool check_depth_buffer_active() const { return m_framebuffer_layout.zeta_address != 0; }
const draw_command_processor* draw_processor() const { return &m_draw_processor; }