mesa/src
Juan A. Suarez Romero 10541d1fad gallium/hud: initialize query
Most of the drivers don't set up the maximum value in the query info. So
when later hud_pane_set_max_value() is invoked, we are using a rather
"random" number.

Turns out that in some 32bit cases, this random number is big enough
that `leftmost_digit` is 0 because DIV_ROUND_UP() overflows, aborting
with an assertion.

Fixes: c91cf7d7d2 ("gallium: implement a heads-up display module")
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12181>
2021-08-03 14:05:32 +00:00
..
amd radv: fix missing cache flushes when clearing HTILE levels on GFX10+ 2021-08-03 12:59:57 +00:00
android_stub egl/android: refactor to use the legit vndk/window.h header 2021-06-09 21:07:54 +00:00
asahi nir: add indirect loop unrolling to compiler options 2021-08-03 10:54:50 +00:00
broadcom nir: add indirect loop unrolling to compiler options 2021-08-03 10:54:50 +00:00
compiler nir: add heuristic for instructions in loops with GCM 2021-08-03 10:54:50 +00:00
drm-shim drm-shim: implement stat/fstat when xstat variants are not there 2021-08-02 00:19:26 +00:00
egl egl/dri2: Stop disabling pbuffer support on msaa configs 2021-07-23 19:22:44 +00:00
etnaviv android: Drop the Android.mk build system 2021-07-08 14:44:02 -05:00
freedreno nir: add indirect loop unrolling to compiler options 2021-08-03 10:54:50 +00:00
gallium gallium/hud: initialize query 2021-08-03 14:05:32 +00:00
gbm gbm/dri: Fix leaking bo memory on failure path 2021-07-13 11:15:44 +00:00
getopt
glx glx/drisw: Nerf PutImage when loaderPrivate == NULL 2021-07-15 15:10:17 +00:00
gtest
hgl
imgui
intel nir: add indirect loop unrolling to compiler options 2021-08-03 10:54:50 +00:00
loader driconfig: Add support for device specific config 2021-08-02 16:37:24 -07:00
mapi glthread: use custom marshal/unmarshal for CallList 2021-07-09 10:05:46 +00:00
mesa nir: add indirect loop unrolling to compiler options 2021-08-03 10:54:50 +00:00
microsoft microsoft/clc: Add a test for compiling a kernel with a read-write image 2021-07-29 14:54:48 -07:00
nouveau
panfrost nir: add indirect loop unrolling to compiler options 2021-08-03 10:54:50 +00:00
tool pps: Panfrost pps driver 2021-07-13 11:03:55 +00:00
util freedreno: Unleash the dragon! 2021-08-02 16:37:26 -07:00
virtio driconfig: Add support for device specific config 2021-08-02 16:37:24 -07:00
vulkan vulkan/overlay: Fix violation of VUID-VkMappedMemoryRange-size-01389 2021-07-30 11:38:40 +00:00
meson.build meson: Build panfrost with tools=panfrost 2021-07-22 17:55:49 +00:00