WIP: lima: lima_draw: overcome the current maximum vertices limitation

The hardware can't handle more than 65535 vertices per operation. This
update configures the hardware accordingly.

Some code refactoring is still required.

Signed-off-by: Patrick Lerda <patrick9876@free.fr>
17 jobs for !768 with mr_verticeslimitation in 16 minutes and 55 seconds (queued for 3 seconds)
latest detached
Status Job ID Name Coverage
  Containers Build
passed debian #511473

00:03:17

 
  Build+Test
passed meson-arm64 #511482

00:02:27

passed meson-armhf #511481

00:02:33

passed meson-clang #511475

00:08:37

passed meson-clover #511479

00:09:33

passed meson-i386 #511483

00:02:52

passed meson-main #511478

00:09:55

passed meson-swr-glvnd #511474

00:05:51

passed meson-vulkan #511480

00:03:06

passed scons-llvm #511485

00:04:08

passed scons-nollvm #511484

00:03:55

passed scons-swr #511476

00:05:39

passed scons-win64 #511477

00:05:42

 
  Test
passed test-llvmpipe-gles2 1/4 #511486

00:03:24

passed test-llvmpipe-gles2 2/4 #511487

00:03:39

passed test-llvmpipe-gles2 3/4 #511488

00:03:19

passed test-llvmpipe-gles2 4/4 #511489

00:03:35