Skip to content
Snippets Groups Projects
Commit e4cac5d3 authored by Samuel Pitoiset's avatar Samuel Pitoiset Committed by Eric Engestrom
Browse files

radv: fix waiting for occlusion queries on GFX6-8

Occlusion queries don't go through L2 on GFX6-8, and waiting properly
in shaders is more complicated to implement. Use the previous
WAIT_REG_MEM logic on these GPUs to fix this.

This fixes flickering on many games on GFX8.

Closes: mesa/mesa#8954
Closes: mesa/mesa#9415


Fixes: d44651bf ("radv: wait for occlusion queries in the resolve query shader")
Signed-off-by: default avatarSamuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <mesa/mesa!28796>
(cherry picked from commit e18cc3b3)
parent 2f6cec1e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment