mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-24 13:40:37 +02:00
Ensure unsigned integers of proper size are used instead of signed ones when performing left bit shifts. This has been detected by the Undefined Behaviour Sanitizer (UBSan). Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29911> |
||
|---|---|---|
| .. | ||
| .dir-locals.el | ||
| .editorconfig | ||
| README | ||
| vc4_drv.h | ||
| vc4_gem.c | ||
| vc4_packet.h | ||
| vc4_render_cl.c | ||
| vc4_validate.c | ||
| vc4_validate_shaders.c | ||
This is a mirror of the kernel validation code into the userspace GL library. It is only built when USE_VC4_SIMULATOR is defined, for compiling the driver on an x86 system with the simpenrose simulator. It allows testing of changes across the kernel and userspace with exposure to most of the software stack, on a higher-performance and more-debuggable environment than the native hardware.