Skip to content

aux/tc: fix renderpass tracking fb state clobber scenario

Mike Blumenkrantz requested to merge zmike/mesa:tc-rp into main

What does this MR do and why?

aux/tc: fix renderpass tracking fb state clobber scenario

in a stream like:

  • set fb state (A)
  • flush
  • set fb state (B)
  • draw -> driver query
  • flush

the "driver query" should return the tc info corresponding to the most recent fb state (B). previously this would increment to C because the flag for incrementing at the start of a batch was set

Fixes: 07017aa1 ("util/tc: implement renderpass tracking")

Merge request reports