[Bug 37724] New: occlusion queries are messed up in ut2004 (regression, bisected)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun May 29 10:17:25 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=37724

           Summary: occlusion queries are messed up in ut2004 (regression,
                    bisected)
           Product: Mesa
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r300
        AssignedTo: dri-devel at lists.freedesktop.org
        ReportedBy: aaalmosss at gmail.com


The majority of the 3d objects disappear periodically since this commit:
f76787b3eae3f0b8af839fabfb24b57715a017f6 is the first bad commit
commit f76787b3eae3f0b8af839fabfb24b57715a017f6
Author: Marek Olšák <maraeo at gmail.com>
Date:   Sun May 29 04:36:36 2011 +0200

    r300g: fix occlusion queries when depth test is disabled or zbuffer is
missing

    From now on, depth test is always enabled in hardware.

    If depth test is disabled in Gallium, the hardware Z function is set to
ALWAYS.

    If there is no zbuffer set, the colorbuffer0 memory is set as a zbuffer
    to silence the CS checker.

    This fixes piglit:
    - occlusion-query-discard
    - NV_conditional_render/bitmap
    - NV_conditional_render/drawpixels
    - NV_conditional_render/vertex_array

:040000 040000 baeff41ffed8952cbb1666d04941c6d5d01ca4fc
cdb64f4b684804b818df4b65c04109eaad568e11 M    src

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list