rsx/zcull: Fix find_query behavior

- Use umax instead of 0 to mean not-found.
This commit is contained in:
kd-11
2026-10-02 13:33:48 +03:00
committed by kd-11
parent 373d0ea7f0
commit 08b226b8f8
+2 -2
View File
@@ -755,11 +755,11 @@ namespace rsx
query_search_result ZCULL_control::find_query(vm::addr_t sink_address, bool all)
{
query_search_result result{};
u32 stat_id = 0;
u32 stat_id = umax;
for (auto It = m_pending_writes.crbegin(); It != m_pending_writes.crend(); ++It)
{
if (stat_id) [[unlikely]]
if (stat_id != umax) [[unlikely]]
{
if (It->counter_tag != stat_id)
{