util/prim_restart: revert part of bad fix

When drawing using util_translate_prim_restart_ib, zink explicitly
ignores pipe_draw_start_count_bias::start, because
util_translate_prim_restart_ib used to create a new index-buffer without
padding at the start.

This makes a lot of sense, because creating a padded index buffer is
just wasteful.

So let's walk back on the choice of starting to pad the output buffer.

Fixes: 1272c2e0 ("util/prim_restart: fix util_translate_prim_restart_ib")
Closes: #4851
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <!11059>
135 jobs for !11059 with zink-fix-primitive-restart-regression in 40 minutes and 24 seconds (queued for 9 seconds)
latest detached
Status Job ID Name Coverage
  Sanity
passed #10245487
sanity

00:00:08

 
  Container
passed #10245492
aarch64
arm_build

00:00:16

passed #10245494
windows shell 1809 mesa
windows_build_vs2019

00:00:09

passed #10245489
x86_build-base

00:00:13

passed #10245490
x86_test-base

00:00:13

 
  Container 2
passed #10245503
android_build

00:00:26

passed #10245498
i386_build

00:00:24

passed #10245509
kernel+rootfs_amd64

00:00:23

passed #10245511
aarch64
kernel+rootfs_arm64

00:00:56

passed #10245515
aarch64
kernel+rootfs_armhf

00:00:12

passed #10245500
ppc64el_build

00:00:22

passed #10245502
s390x_build

00:00:25

passed #10245497
x86_build

00:00:15

passed #10245505
x86_test-gl

00:00:26

passed #10245507
x86_test-vk

00:00:24

 
  Meson X86 64
passed #10245527
meson-clang

00:05:11

passed #10245528
meson-clover

00:02:15

passed #10245521
meson-clover-testing

00:01:23

passed #10245523
meson-gallium

00:06:11

passed #10245525
meson-release

00:03:18

passed #10245517
meson-testing

00:01:51

passed #10245519
meson-testing-asan

00:02:22

passed #10245529
meson-vulkan

00:01:31

 
  Build Misc
passed #10245530
arm_test

00:00:25

passed #10245531
meson-android

00:01:30

passed #10245533
aarch64
meson-arm64

00:01:35

passed #10245534
aarch64
meson-arm64-asan

00:04:24

passed #10245535
aarch64
meson-arm64-build-test

00:01:36

passed #10245532
aarch64
meson-armhf

00:01:50

passed #10245537
meson-i386

00:01:33

passed #10245540
meson-mingw32-x86_64

00:02:08

passed #10245539
meson-ppc64el

00:02:00

passed #10245538
kvm
meson-s390x

00:04:10

passed #10245536
windows docker 1809 mesa
meson-windows-vs2019

00:06:01

 
  Amd
passed #10245541
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles2:amd64

00:06:26

passed #10245544
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles31:amd64 1/2

00:23:04

passed #10245545
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles31:amd64 2/2

00:10:27

passed #10245542
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles3:amd64 1/2

00:08:48

passed #10245543
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles3:amd64 2/2

00:17:19

passed #10245547
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-piglit-gl:amd64

00:16:43

passed #10245546
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-traces:amd64

00:12:44

 
  Intel
passed #10245556
mesa-ci-aarch64-lava-collabora
iris-amly-egl

00:16:06

passed #10245555
mesa-ci-aarch64-lava-collabora
iris-amly-gl

00:20:10

passed #10245552
mesa-ci-aarch64-lava-collabora
iris-amly-gles2

00:05:59

passed #10245553
mesa-ci-aarch64-lava-collabora
iris-amly-gles3

00:11:18

passed #10245554
mesa-ci-aarch64-lava-collabora
iris-amly-gles31

00:16:42

passed #10245558
mesa-ci-aarch64-lava-collabora
iris-amly-traces

00:10:13

passed #10245551
mesa-ci-aarch64-lava-collabora
iris-apl-egl

00:16:39

passed #10245548
mesa-ci-aarch64-lava-collabora
iris-apl-gles2

00:12:11

passed #10245549
mesa-ci-aarch64-lava-collabora
iris-apl-gles3

00:22:34

passed #10245550
mesa-ci-aarch64-lava-collabora
iris-apl-gles31

00:13:59

passed #10245557
mesa-ci-aarch64-lava-collabora
iris-apl-traces

00:09:20

 
  Arm
passed #10245568
mesa-ci-aarch64-lava-collabora
panfrost-g52-gles31:arm64

00:10:56

passed #10245566
mesa-ci-aarch64-lava-collabora
panfrost-g52-gles3:arm64 1/2

00:09:36

passed #10245567
mesa-ci-aarch64-lava-collabora
panfrost-g52-gles3:arm64 2/2

00:09:28

passed #10245559
mesa-ci-aarch64-lava-collabora
panfrost-t720-gles2:arm64

00:09:58

passed #10245560
mesa-ci-aarch64-lava-collabora
panfrost-t760-gles2:armhf

00:06:33

passed #10245561
mesa-ci-aarch64-lava-collabora
panfrost-t760-traces:armhf

00:06:31

passed #10245564
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles31:arm64

00:19:07

passed #10245562
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 1/2

00:25:48

passed #10245563
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 2/2

00:12:01

passed #10245565
mesa-ci-aarch64-lava-collabora
panfrost-t860-traces:arm64

00:31:19

 
  Broadcom
passed #10245579
igalia-rpi4
v3d-rpi4-gles2:armhf

00:07:06

passed #10245573
igalia-rpi4
v3d-rpi4-gles31:armhf 1/2

00:09:49

passed #10245574
igalia-rpi4
v3d-rpi4-gles31:armhf 2/2

00:09:57

passed #10245575
igalia-rpi4
v3d-rpi4-gles3:armhf 1/4

00:09:42

passed #10245576
igalia-rpi4
v3d-rpi4-gles3:armhf 2/4

00:09:54

passed #10245577
igalia-rpi4
v3d-rpi4-gles3:armhf 3/4

00:08:00

passed #10245578
igalia-rpi4
v3d-rpi4-gles3:armhf 4/4

00:08:58

passed #10245569
igalia-rpi3
vc4-rpi3-gles2:armhf 1/4

00:04:36

passed #10245570
igalia-rpi3
vc4-rpi3-gles2:armhf 2/4

00:05:07

passed #10245571
igalia-rpi3
vc4-rpi3-gles2:armhf 3/4

00:04:30

passed #10245572
igalia-rpi3
vc4-rpi3-gles2:armhf 4/4

00:04:29

 
  Freedreno
passed #10245580
google-freedreno-db410c
a306_gles2

00:05:07

passed #10245581
google-freedreno-db410c
a306_gles3 1/3

00:09:54

passed #10245582
google-freedreno-db410c
a306_gles3 2/3

00:09:35

passed #10245583
google-freedreno-db410c
a306_gles3 3/3

00:09:46

passed #10245584
google-freedreno-db410c
a306_gles3_options

00:04:20

passed #10245585
google-freedreno-db410c
a306-traces

00:03:25

passed #10245586
google-freedreno-db820c
a530_gles2

00:05:49

passed #10245843
google-freedreno-db820c
a530_gles31 1/2

00:06:59

passed #10245587
google-freedreno-db820c
a530_gles3 1/2

00:08:32

passed #10245590
google-freedreno-db820c
a530_gles31 2/2

00:06:14

passed #10245588
google-freedreno-db820c
a530_gles3 2/2

00:07:36

passed #10245591
google-freedreno-db820c
a530_piglit_shader 1/2

00:09:41

passed #10245592
google-freedreno-db820c
a530_piglit_shader 2/2

00:09:47

passed #10245593
google-freedreno-db820c
a530-traces

00:07:38

passed #10245598
google-freedreno-cheza
a630_egl

00:02:28

passed #10245597
google-freedreno-cheza
a630_gl

00:01:34

passed #10245594
google-freedreno-cheza
a630_gles2

00:01:57

passed #10245596
google-freedreno-cheza
a630_gles3

00:05:05

passed #10245595
google-freedreno-cheza
a630_gles31

00:04:31

passed #10245599
google-freedreno-cheza
a630_gles_others

00:03:02

passed #10245603
google-freedreno-cheza
a630_piglit

00:09:34

passed #10245604
google-freedreno-cheza
a630-traces

00:03:58

passed #10245600
google-freedreno-cheza
a630_vk 1/2

00:10:43

passed #10245601
google-freedreno-cheza
a630_vk 2/2

00:10:42

passed #10245602
google-freedreno-cheza
a630_vk_sysmem

00:02:19

failed #10245589
google-freedreno-db820c
a530_gles31 1/2

01:00:04

 
  Software Renderer
passed #10245627
lavapipe-nir-stress

00:02:11

passed #10245626
lavapipe-vk

00:06:49

passed #10245615
llvmpipe-egl

00:01:20

passed #10245613
llvmpipe-gl

00:02:17

passed #10245610
llvmpipe-gles2

00:02:43

passed #10245611
llvmpipe-gles3

00:05:15

passed #10245612
llvmpipe-gles31

00:08:00

passed #10245614
llvmpipe-khr-gles2

00:00:35

passed #10245605
llvmpipe-piglit-cl

00:02:29

passed #10245607
llvmpipe-piglit-glslparser

00:04:01

passed #10245606
llvmpipe-piglit-quick_gl

00:06:43

passed #10245608
llvmpipe-piglit-quick_shader

00:06:35

passed #10245609
llvmpipe-traces

00:02:06

passed #10245623
softpipe-asan-gles31

00:02:25

passed #10245625
softpipe-gl

00:00:52

passed #10245616
softpipe-gles2

00:01:55

passed #10245617
softpipe-gles3

00:03:17

passed #10245618
softpipe-gles31 1/2

00:04:47

passed #10245619
softpipe-gles31 2/2

00:04:04

passed #10245620
softpipe-khr-gles2

00:00:57

passed #10245621
softpipe-khr-gles3

00:01:09

passed #10245622
softpipe-khr-gles31

00:00:46

passed #10245624
softpipe-piglit-quick

00:07:33

 
  Layered Backends
passed #10245640
windows docker 1809 mesa
test-d3d12-windows

00:03:19

passed #10245632
virgl-gl30-on-gl

00:00:41

passed #10245633
virgl-gl31-on-gl

00:01:19

passed #10245634
virgl-gl32-on-gl

00:02:18

passed #10245628
virgl-gles2-on-gl

00:02:50

passed #10245630
virgl-gles31-on-gl 1/2

00:03:36

passed #10245631
virgl-gles31-on-gl 2/2

00:03:26

passed #10245629
virgl-gles3-on-gl

00:04:58

passed #10245635
virgl-traces

00:00:57

passed #10245639
zink-lvp-gl

00:01:34

passed #10245637
zink-lvp-gles2

00:02:02

passed #10245638
zink-lvp-gles3

00:02:36

passed #10245636
zink-piglit-quick_gl

00:06:18