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>
87 jobs for !8106 with modifier-usage in 12 seconds (queued for 6 seconds)
latest detached
Status Job ID Name Coverage
  Sanity
passed #6183043
sanity

00:00:12

 
  Container
manual #6183046
aarch64 manual
arm_build
manual #6183047
manual
arm_test-base
manual #6183048
windows shell 1809 mesa manual
windows_build_vs2019
manual #6183044
manual
x86_build-base
manual #6183045
manual
x86_test-base
 
  Container 2
created #6183056
android_build
created #6183059
arm64_test
created #6183060
armhf_test
created #6183053
i386_build
created #6183049
kernel+rootfs_amd64
created #6183050
aarch64
kernel+rootfs_arm64
created #6183051
aarch64
kernel+rootfs_armhf
created #6183054
ppc64el_build
created #6183055
s390x_build
created #6183052
x86_build
created #6183057
x86_test-gl
created #6183058
x86_test-vk
 
  Meson X86 64
created #6183065
meson-clang
created #6183066
meson-clover
created #6183062
meson-clover-testing
created #6183063
meson-gallium
created #6183064
meson-release
created #6183061
meson-testing
created #6183067
meson-vulkan
 
  Build Misc
created #6183068
meson-android
created #6183070
aarch64
meson-arm64
created #6183071
aarch64
meson-arm64-build-test
created #6183069
aarch64
meson-armhf
created #6183074
meson-i386
created #6183077
meson-mingw32-x86_64
created #6183076
kvm
meson-ppc64el
created #6183075
kvm
meson-s390x
created #6183072
windows docker 1809 mesa
meson-windows-vs2019
created #6183073
allowed to fail
scons-win64
 
  Amd
created #6183078
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles2:amd64
created #6183080
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles31:amd64
created #6183079
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles3:amd64
created #6183081
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-traces:amd64
created #6183082
radv-fossils
 
  Arm
created #6183088
mesa-ci-aarch64-lava-collabora
panfrost-g52-gles2:arm64
created #6183083
mesa-ci-aarch64-lava-collabora
panfrost-t720-gles2:arm64
created #6183084
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles2:arm64
created #6183085
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 1/2
created #6183086
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 2/2
created #6183087
mesa-ci-aarch64-lava-collabora
panfrost-t860-traces:arm64
 
  Freedreno
created #6183098
google-freedreno-db410c
arm64_a306_gles2
created #6183099
google-freedreno-db410c
arm64_a306_gles3
created #6183100
google-freedreno-db410c
arm64_a306_gles3_options
created #6183101
google-freedreno-db820c
arm64_a530_gles2 1/2
created #6183102
google-freedreno-db820c
arm64_a530_gles2 2/2
created #6183103
google-freedreno-db820c
arm64_a530_gles3
created #6183104
google-freedreno-db820c
arm64_a530_gles31
created #6183093
google-freedreno-cheza
arm64_a630_gl
created #6183089
google-freedreno-cheza
arm64_a630_gles2
created #6183091
google-freedreno-cheza
arm64_a630_gles3
created #6183090
google-freedreno-cheza
arm64_a630_gles31
created #6183094
google-freedreno-cheza
arm64_a630_gles_others
created #6183092
google-freedreno-cheza
arm64_a630_traces
created #6183095
google-freedreno-cheza
arm64_a630_vk 1/2
created #6183096
google-freedreno-cheza
arm64_a630_vk 2/2
created #6183097
google-freedreno-cheza
arm64_a630_vk_sysmem
 
  Raspberrypi
created #6183105
igalia-rpi3
vc4-rpi3-gles2:armhf 1/4
created #6183106
igalia-rpi3
vc4-rpi3-gles2:armhf 2/4
created #6183107
igalia-rpi3
vc4-rpi3-gles2:armhf 3/4
created #6183108
igalia-rpi3
vc4-rpi3-gles2:armhf 4/4
 
  Software Renderer
created #6183119
lavapipe-vk
created #6183113
llvmpipe-gles2
created #6183109
llvmpipe-piglit-cl
created #6183111
llvmpipe-piglit-glslparser
created #6183110
llvmpipe-piglit-quick_gl
created #6183112
llvmpipe-piglit-quick_shader
created #6183120
llvmpipe-traces
created #6183118
softpipe-gl
created #6183114
softpipe-gles2
created #6183115
softpipe-gles3
created #6183116
softpipe-gles31 1/2
created #6183117
softpipe-gles31 2/2
 
  Layered Backends
created #6183121
windows docker 1809 mesa
test-d3d12-windows
created #6183126
virgl-gl30-on-gl
created #6183127
virgl-gl31-on-gl
created #6183128
virgl-gl32-on-gl
created #6183122
virgl-gles2-on-gl
created #6183124
virgl-gles31-on-gl 1/2
created #6183125
virgl-gles31-on-gl 2/2
created #6183123
virgl-gles3-on-gl
created #6183129
virgl-traces