Get rid of bit fields in union
authorPaul Cercueil <paul@crapouillou.net>
Fri, 13 Sep 2019 21:09:11 +0000 (23:09 +0200)
committernotaz <notasas@gmail.com>
Fri, 29 Jul 2022 20:48:40 +0000 (23:48 +0300)
commitf23b103c8248c10855949bfb2185b6b10d4f0457
tree0f0d61cbd7007eb3716ddf745c294a25d6e00943
parent086adfff4fe6352e401d00c052071a6b91245b40
Get rid of bit fields in union

Long story short, bit fields aren't endian-safe.
More info: http://mjfrazer.org/mjfrazer/bitfields/

Simplify that by just using a few macros to access the needed bits.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
plugins/gpu_neon/psx_gpu_if.c
plugins/gpu_senquack/gpulib_if.cpp
plugins/gpulib/gpu.c
plugins/gpulib/gpu.h
plugins/gpulib/vout_pl.c