Skip to content
Snippets Groups Projects
Commit 6af52034 authored by Mike Blumenkrantz's avatar Mike Blumenkrantz :lifter: Committed by Eric Engestrom
Browse files

llvmpipe: fix occlusion queries with early depth test


for genuine early depth tests, the samplecount must be updated after depth
test but before samplemask is applied

for inferred-early or regular depth tests, the samplemask can be applied
before the depth test

Fixes: d9276ae9 ("llvmpipe: handle gl_SampleMask writing.")

fixes:
dEQP-VK.fragment_operations.early_fragment.sample_count_early_fragment_tests_depth_samples_4

Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
Part-of: <mesa/mesa!15319>
(cherry picked from commit 42e78ba1)
parent 518d3be1
No related branches found
No related tags found
No related merge requests found
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