gpulib: try to reduce global reload
authornotaz <notasas@gmail.com>
Wed, 13 Nov 2024 23:20:47 +0000 (01:20 +0200)
committernotaz <notasas@gmail.com>
Sat, 16 Nov 2024 21:57:18 +0000 (23:57 +0200)
commit0d515420a41f38d535c66be1c79f3ca466a882b8
tree783eb6f2132aba968c4d452a362ca1960aeb8fac
parentdef41a581f93b8ab3edbbc8851501addd919e126
gpulib: try to reduce global reload

espacially bad on arm32 with -pie (which is on by default):
   text    data     bss     dec     hex filename
   9904       0    4444   14348    380c plugins/gpulib/gpu.o # before
   9128       0    4444   13572    3504 plugins/gpulib/gpu.o # after
plugins/gpulib/gpu.c
plugins/gpulib/gpu.h