gallium/dri: copy image use in dup_image

Don't lose the use flags when dup'ing an image.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
116 jobs for !8106 with modifier-usage in 8 seconds (queued for 14 seconds)
detached
Status Job ID Name Coverage
  Sanity
passed #8255385
sanity

00:00:08

 
  Container
manual #8255388
aarch64 manual
arm_build
manual #8255389
manual
arm_test-base
manual #8255390
windows shell 1809 mesa manual
windows_build_vs2019
manual #8255386
manual
x86_build-base
manual #8255387
manual
x86_test-base
 
  Container 2
created #8255398
android_build
created #8255401
arm64_test
created #8255402
armhf_test
created #8255395
i386_build
created #8255391
kernel+rootfs_amd64
created #8255392
aarch64
kernel+rootfs_arm64
created #8255393
aarch64
kernel+rootfs_armhf
created #8255396
ppc64el_build
created #8255397
s390x_build
created #8255394
x86_build
created #8255399
x86_test-gl
created #8255400
x86_test-vk
 
  Meson X86 64
created #8255408
meson-clang
created #8255409
meson-clover
created #8255405
meson-clover-testing
created #8255406
meson-gallium
created #8255407
meson-release
created #8255403
meson-testing
created #8255404
meson-testing-asan
created #8255410
meson-vulkan
 
  Build Misc
created #8255412
meson-android
created #8255417
aarch64
meson-arm64
created #8255419
aarch64
meson-arm64-asan
created #8255420
aarch64
meson-arm64-build-test
created #8255415
aarch64
meson-armhf
created #8255425
meson-i386
created #8255432
meson-mingw32-x86_64
created #8255430
kvm
meson-ppc64el
created #8255427
kvm
meson-s390x
created #8255422
windows docker 1809 mesa
meson-windows-vs2019
 
  Amd
created #8255436
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles31:amd64
created #8255439
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-traces:amd64
created #8255434
radv-fossils
 
  Arm
created #8255458
mesa-ci-aarch64-lava-collabora
panfrost-g52-gles2:arm64
created #8255460
mesa-ci-aarch64-lava-collabora
panfrost-g52-gles3:arm64
created #8255441
mesa-ci-aarch64-lava-collabora
panfrost-t720-gles2:arm64
created #8255444
mesa-ci-aarch64-lava-collabora
panfrost-t760-gles2:armhf
created #8255446
mesa-ci-aarch64-lava-collabora
panfrost-t760-traces:armhf
created #8255449
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles2:arm64
created #8255451
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 1/2
created #8255453
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 2/2
created #8255455
mesa-ci-aarch64-lava-collabora
panfrost-t860-traces:arm64
 
  Broadcom
created #8255481
igalia-rpi4
v3d-rpi4-gles2:armhf
created #8255469
igalia-rpi4
v3d-rpi4-gles31:armhf 1/2
created #8255471
igalia-rpi4
v3d-rpi4-gles31:armhf 2/2
created #8255473
igalia-rpi4
v3d-rpi4-gles3:armhf 1/4
created #8255475
igalia-rpi4
v3d-rpi4-gles3:armhf 2/4
created #8255477
igalia-rpi4
v3d-rpi4-gles3:armhf 3/4
created #8255479
igalia-rpi4
v3d-rpi4-gles3:armhf 4/4
created #8255484
igalia-rpi4
v3dv-rpi4-vk:armhf 1/6
created #8255486
igalia-rpi4
v3dv-rpi4-vk:armhf 2/6
created #8255488
igalia-rpi4
v3dv-rpi4-vk:armhf 3/6
created #8255490
igalia-rpi4
v3dv-rpi4-vk:armhf 4/6
created #8255492
igalia-rpi4
v3dv-rpi4-vk:armhf 5/6
created #8255494
igalia-rpi4
v3dv-rpi4-vk:armhf 6/6
created #8255462
igalia-rpi3
vc4-rpi3-gles2:armhf 1/4
created #8255464
igalia-rpi3
vc4-rpi3-gles2:armhf 2/4
created #8255466
igalia-rpi3
vc4-rpi3-gles2:armhf 3/4
created #8255467
igalia-rpi3
vc4-rpi3-gles2:armhf 4/4
 
  Freedreno
created #8255496
google-freedreno-db410c
a306_gles2
created #8255498
google-freedreno-db410c
a306_gles3 1/3
created #8255500
google-freedreno-db410c
a306_gles3 2/3
created #8255502
google-freedreno-db410c
a306_gles3 3/3
created #8255504
google-freedreno-db410c
a306_gles3_options
created #8255506
google-freedreno-db820c
a530_gles2
created #8255512
google-freedreno-db820c
a530_gles31 1/2
created #8255508
google-freedreno-db820c
a530_gles3 1/2
created #8255514
google-freedreno-db820c
a530_gles31 2/2
created #8255510
google-freedreno-db820c
a530_gles3 2/2
created #8255516
google-freedreno-db820c
a530_piglit_gl
created #8255518
google-freedreno-db820c
a530_piglit_shader
created #8255526
google-freedreno-cheza
a630_gl
created #8255520
google-freedreno-cheza
a630_gles2
created #8255524
google-freedreno-cheza
a630_gles3
created #8255522
google-freedreno-cheza
a630_gles31
created #8255530
google-freedreno-cheza
a630_gles_asan
created #8255528
google-freedreno-cheza
a630_gles_others
created #8255538
google-freedreno-cheza
a630_piglit_gl
created #8255540
google-freedreno-cheza
a630_piglit_shader
created #8255542
google-freedreno-cheza
a630-traces
created #8255532
google-freedreno-cheza
a630_vk 1/2
created #8255534
google-freedreno-cheza
a630_vk 2/2
created #8255536
google-freedreno-cheza
a630_vk_sysmem
 
  Software Renderer
created #8255567
lavapipe-vk
created #8255553
llvmpipe-gles2
created #8255544
llvmpipe-piglit-cl
created #8255547
llvmpipe-piglit-glslparser
created #8255546
llvmpipe-piglit-quick_gl
created #8255549
llvmpipe-piglit-quick_shader
created #8255551
llvmpipe-traces
created #8255562
softpipe-asan-gles31
created #8255565
softpipe-gl
created #8255555
softpipe-gles2
created #8255556
softpipe-gles3
created #8255558
softpipe-gles31 1/2
created #8255560
softpipe-gles31 2/2
created #8255563
softpipe-piglit-quick
 
  Layered Backends
created #8255589
windows docker 1809 mesa
test-d3d12-windows
created #8255576
virgl-gl30-on-gl
created #8255577
virgl-gl31-on-gl
created #8255579
virgl-gl32-on-gl
created #8255568
virgl-gles2-on-gl
created #8255572
virgl-gles31-on-gl 1/2
created #8255574
virgl-gles31-on-gl 2/2
created #8255570
virgl-gles3-on-gl
created #8255581
virgl-traces
created #8255588
zink-lvp-gl
created #8255584
zink-lvp-gles2
created #8255586
zink-lvp-gles3
created #8255582
zink-piglit-quick_gl