https://bugs.freedesktop.org/show_bug.cgi?id=94037
--- Comment #1 from Ilia Mirkin imirkin@alum.mit.edu --- This should have been (semi-accidentally) fixed in commit
https://cgit.freedesktop.org/mesa/mesa/commit/?id=386a9ec77b7113c1e0c29c30b9...
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.