mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-10-12 02:09:17 +00:00
Revert "rsx: keep depth buffers for zpass queries"
This reverts commit 2d293d8e5a.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user