etnaviv: remove unnecessary vertex_elements_state_create error checking

PIPE_CAP_MAX_VERTEX_BUFFERS already sets the maximum vertex_buffer_index.

There's no need to error on num_elements == 0 (if that can even happen).

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
41 jobs for !2396 with etna-instance in 27 minutes and 22 seconds (queued for 11 seconds)
latest detached
Status Job ID Name Coverage
  Container
passed #1301059
aarch64
arm_build

00:00:20

passed #1301060
aarch64
arm_test

00:00:19

passed #1301055
lava_arm64

00:00:25

passed #1301054
lava_armhf

00:00:26

passed #1301056
x86_build

00:01:45

passed #1301058
x86_build_old

00:00:39

passed #1301057
x86_test-gl

00:00:44

 
  Build
passed #1301062
lava-build:arm64

00:03:35

passed #1301061
lava-build:armhf

00:04:13

passed #1301066
aarch64
meson-arm64

00:11:10

passed #1301065
aarch64
meson-armhf

00:05:55

passed #1301067
meson-clang

00:10:53

passed #1301070
meson-clover

00:11:09

passed #1301071
meson-clover-old-llvm

00:05:09

passed #1301073
meson-i386

00:03:56

passed #1301064
meson-main

00:13:25

passed #1301074
meson-mingw32-x86_64

00:07:37

passed #1301063
meson-testing

00:10:18

passed #1301072
meson-vulkan

00:07:22

passed #1301075
scons

00:14:35

passed #1301076
scons-old-llvm

00:07:55

passed #1301068
scons-swr

00:11:13

passed #1301069
scons-win64

00:13:35

 
  Test
passed #1301094
db410c
arm64_a306_gles2

00:05:12

passed #1301091
mesa-cheza
arm64_a630_gles2

00:01:33

passed #1301093
mesa-cheza
arm64_a630_gles3

00:06:08

passed #1301092
mesa-cheza
arm64_a630_gles31

00:04:00

passed #1301077
lava-sun50i-h6-pine-h64
panfrost-t720-test:arm64

00:08:05

passed #1301078
lava-rk3288-veyron-jaq
panfrost-t760-test:armhf

00:07:04

passed #1301079
lava-rk3399-gru-kevin
panfrost-t860-test:arm64

00:11:44

passed #1301081
piglit-glslparser

00:05:31

passed #1301080
piglit-quick_gl

00:14:24

passed #1301082
piglit-quick_shader

00:07:39

passed #1301083
test-llvmpipe-gles2

00:06:18

passed #1301084
test-softpipe-gles2

00:02:38

passed #1301087
test-softpipe-gles31 1/4

00:05:16

passed #1301085
test-softpipe-gles3 1/2

00:06:43

passed #1301088
test-softpipe-gles31 2/4

00:04:35

passed #1301089
test-softpipe-gles31 3/4

00:06:33

passed #1301090
test-softpipe-gles31 4/4

00:05:52

passed #1301086
test-softpipe-gles3 2/2

00:06:51