mesa/src/gallium/drivers/vc4/kernel
Juan A. Suarez Romero 5e09b2b3f3 vc4: use unsigned types when performing bitshifting
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>
2024-07-01 08:02:07 +00:00
..
.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.