Sunglare doesn't work with Mesa drivers and AMD GPUs
The occlusion query when the depth test is on fails for all samples. Changing the colour mask used for the query illustrates that the draw call isn't generating any fragments that pass the depth test.