| Summary: | [Gallium] glGetQueryObject with GL_ANY_SAMPLES_PASSED returns the same as with GL_SAMPLES_PASSED | ||
|---|---|---|---|
| Product: | Mesa | Reporter: | peter.fiss |
| Component: | Drivers/Gallium/r600 | Assignee: | Default DRI bug account <dri-devel> |
| Status: | RESOLVED FIXED | QA Contact: | Default DRI bug account <dri-devel> |
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | unspecified | ||
| Hardware: | x86-64 (AMD64) | ||
| OS: | Linux (All) | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
| Attachments: | Source code of the test program. Needs SDL2 to build. It shows a red background if the describes bug exists. | ||
|
Description
peter.fiss
2016-02-07 22:33:18 UTC
This should have been (semi-accidentally) fixed in commit https://cgit.freedesktop.org/mesa/mesa/commit/?id=386a9ec77b7113c1e0c29c30b981a50175ac16e8 which refactored a lot of that code, and will be fixed even harder once my recent series cleaning this up lands: https://patchwork.freedesktop.org/series/3163/ note that the issue only applied to the 64-bit getters. Both of the 32-bit getters did force the value to be true/false. Long story short, try mesa-git, the problem should go away. Thanks for the quick answer. I'm going to try mesa-git on my Manjaro machine, but it looks like it will take a while until llvm-svn and mesa-git are compiled and installed. (In reply to peter.fiss from comment #2) > Thanks for the quick answer. I'm going to try mesa-git on my Manjaro > machine, but it looks like it will take a while until llvm-svn and mesa-git > are compiled and installed. You should be fine with your system llvm (or no llvm at all, unless you're using radeonsi or are testing llvmpipe). I needed to install llvm-svn, because it was a dependency of mesa-git from the Arch User Repository. As a non-mesa-dev this seemed to be the easiest way for me to get mesa-git to work. Anyway, I can confirm that the bug is fixed in mesa-git. Thanks for your help and for the excellent response time! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.