ac/llvm: remove dead code handling for fmod
[mesa.git] / .gitlab-ci.yml
1 variables:
2 FDO_UPSTREAM_REPO: mesa/mesa
3 CI_PRE_CLONE_SCRIPT: |-
4 set -o xtrace
5 /usr/bin/wget -q -O- ${CI_PROJECT_URL}/-/raw/${CI_COMMIT_SHA}/.gitlab-ci/download-git-cache.sh | sh -
6 set +o xtrace
7
8 include:
9 - project: 'freedesktop/ci-templates'
10 ref: &ci-templates-sha 52dd4a94044449c8481d18dcdc221a3c636366d2
11 file: '/templates/debian.yml'
12 - project: 'freedesktop/ci-templates'
13 ref: *ci-templates-sha
14 file: '/templates/alpine.yml'
15 - local: '.gitlab-ci/lava-gitlab-ci.yml'
16 - local: '.gitlab-ci/test-source-dep.yml'
17
18 stages:
19 - container+docs
20 - container-2
21 - git-archive
22 - deploy
23 - meson-x86_64
24 - scons
25 - meson-misc
26 - llvmpipe
27 - softpipe
28 - freedreno
29 - panfrost
30 - radv
31 - lima
32 - virgl
33 - radeonsi
34 - success
35
36 # Generic rule to not run the job during scheduled pipelines
37 # ----------------------------------------------------------
38 .scheduled_pipelines-rules:
39 rules: &ignore_scheduled_pipelines
40 if: '$CI_PIPELINE_SOURCE == "schedule"'
41 when: never
42
43 .docs-base:
44 extends: .ci-run-policy
45 image: alpine
46 script:
47 - apk --no-cache add py3-pip graphviz
48 - pip3 install sphinx sphinx_rtd_theme
49 - sphinx-build -b html docs public
50
51 pages:
52 extends: .docs-base
53 stage: deploy
54 artifacts:
55 paths:
56 - public
57 rules:
58 - *ignore_scheduled_pipelines
59 - if: '$CI_PROJECT_NAMESPACE == "mesa" && $CI_COMMIT_REF_NAME == "master"'
60 changes: &docs-or-ci
61 - docs/**/*
62 - .gitlab-ci.yml
63 when: always
64 # Other cases default to never
65
66 test-docs:
67 extends: .docs-base
68 # Cancel job if a newer commit is pushed to the same branch
69 interruptible: true
70 stage: container+docs
71 rules:
72 - *ignore_scheduled_pipelines
73 - if: '$GITLAB_USER_LOGIN == "marge-bot" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
74 changes: *docs-or-ci
75 when: on_success
76 - if: '$GITLAB_USER_LOGIN != "marge-bot" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME && $CI_PROJECT_PATH == "mesa/mesa"'
77 changes: *docs-or-ci
78 when: on_success
79 - if: '$CI_PROJECT_PATH != "mesa/mesa" || $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
80 changes: *docs-or-ci
81 when: manual
82 # Other cases default to never
83
84 # When to automatically run the CI
85 .ci-run-policy:
86 rules:
87 - *ignore_scheduled_pipelines
88 # If any files affecting the pipeline are changed, build/test jobs run
89 # automatically once all dependency jobs have passed
90 - changes: &all_paths
91 - VERSION
92 - bin/git_sha1_gen.py
93 - bin/install_megadrivers.py
94 - bin/meson_get_version.py
95 - bin/symbols-check.py
96 # GitLab CI
97 - .gitlab-ci.yml
98 - .gitlab-ci/**/*
99 # Meson
100 - meson*
101 - build-support/**/*
102 - subprojects/**/*
103 # SCons
104 - SConstruct
105 - scons/**/*
106 - common.py
107 # Source code
108 - include/**/*
109 - src/**/*
110 when: on_success
111 # Otherwise, build/test jobs won't run
112 - when: never
113 retry:
114 max: 2
115 when:
116 - runner_system_failure
117
118 success:
119 stage: success
120 image: debian:stable-slim
121 rules:
122 - *ignore_scheduled_pipelines
123 - if: '$CI_PROJECT_NAMESPACE == "mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
124 when: never
125 - if: '$GITLAB_USER_LOGIN == "marge-bot"'
126 changes: *docs-or-ci
127 when: never
128 - changes: *all_paths
129 when: never
130 - if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
131 when: on_success
132 variables:
133 GIT_STRATEGY: none
134 script:
135 - echo "Dummy job to make sure every merge request pipeline runs at least one job"
136
137
138 .ci-deqp-artifacts:
139 artifacts:
140 name: "mesa_${CI_JOB_NAME}"
141 when: always
142 untracked: false
143 paths:
144 # Watch out! Artifacts are relative to the build dir.
145 # https://gitlab.com/gitlab-org/gitlab-ce/commit/8788fb925706cad594adf6917a6c5f6587dd1521
146 - artifacts
147
148 # Build the CI docker images.
149 #
150 # FDO_DISTRIBUTION_TAG is the tag of the docker image used by later stage jobs. If the
151 # image doesn't exist yet, the container stage job generates it.
152 #
153 # In order to generate a new image, one should generally change the tag.
154 # While removing the image from the registry would also work, that's not
155 # recommended except for ephemeral images during development: Replacing
156 # an image after a significant amount of time might pull in newer
157 # versions of gcc/clang or other packages, which might break the build
158 # with older commits using the same tag.
159 #
160 # After merging a change resulting in generating a new image to the
161 # main repository, it's recommended to remove the image from the source
162 # repository's container registry, so that the image from the main
163 # repository's registry will be used there as well.
164
165 .container:
166 stage: container+docs
167 extends:
168 - .ci-run-policy
169 rules:
170 - *ignore_scheduled_pipelines
171 # Run pipeline by default in the main project if any CI pipeline
172 # configuration files were changed, to ensure docker images are up to date
173 - if: '$CI_PROJECT_PATH == "mesa/mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
174 changes:
175 - .gitlab-ci.yml
176 - .gitlab-ci/**/*
177 when: on_success
178 # Run pipeline by default if it was triggered by Marge Bot, is for a
179 # merge request, and any files affecting the pipeline were changed
180 - if: '$GITLAB_USER_LOGIN == "marge-bot" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
181 changes:
182 *all_paths
183 when: on_success
184 # Run pipeline by default in the main project if it was not triggered by
185 # Marge Bot, and any files affecting the pipeline were changed
186 - if: '$GITLAB_USER_LOGIN != "marge-bot" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME && $CI_PROJECT_PATH == "mesa/mesa"'
187 changes:
188 *all_paths
189 when: on_success
190 # Allow triggering jobs manually in other cases if any files affecting the
191 # pipeline were changed
192 - changes:
193 *all_paths
194 when: manual
195 # Otherwise, container jobs won't run
196 - when: never
197 variables:
198 FDO_DISTRIBUTION_VERSION: buster-slim
199 FDO_REPO_SUFFIX: "debian/$CI_JOB_NAME"
200 FDO_DISTRIBUTION_EXEC: 'env FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash .gitlab-ci/container/${CI_JOB_NAME}.sh'
201 # no need to pull the whole repo to build the container image
202 GIT_STRATEGY: none
203
204 # Debian 10 based x86 build image base
205 x86_build-base:
206 extends:
207 - .fdo.container-build@debian
208 - .container
209 variables:
210 FDO_DISTRIBUTION_TAG: &x86_build-base "2020-08-13-gold"
211
212 .use-x86_build-base:
213 extends:
214 - x86_build-base
215 - .ci-run-policy
216 stage: container-2
217 variables:
218 BASE_TAG: *x86_build-base
219 FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/x86_build-base:$BASE_TAG"
220 needs:
221 - x86_build-base
222
223 # Debian 10 based x86 main build image
224 x86_build:
225 extends:
226 - .use-x86_build-base
227 variables:
228 FDO_DISTRIBUTION_TAG: &x86_build "2020-08-13-gold"
229
230 .use-x86_build:
231 variables:
232 TAG: *x86_build
233 image: "$CI_REGISTRY_IMAGE/debian/x86_build:$TAG"
234 needs:
235 - x86_build
236
237 # Debian 10 based i386 cross-build image
238 i386_build:
239 extends:
240 - .use-x86_build-base
241 variables:
242 FDO_DISTRIBUTION_TAG: &i386_build "2020-08-13-gold"
243
244 .use-i386_build:
245 variables:
246 TAG: *i386_build
247 image: "$CI_REGISTRY_IMAGE/debian/i386_build:$TAG"
248 needs:
249 - i386_build
250
251 # Debian 10 based ppc64el cross-build image
252 ppc64el_build:
253 extends:
254 - .use-x86_build-base
255 variables:
256 FDO_DISTRIBUTION_TAG: &ppc64el_build "2020-08-13-gold"
257
258 .use-ppc64el_build:
259 variables:
260 TAG: *ppc64el_build
261 image: "$CI_REGISTRY_IMAGE/debian/ppc64el_build:$TAG"
262 needs:
263 - ppc64el_build
264
265 # Debian 10 based s390x cross-build image
266 s390x_build:
267 extends:
268 - .use-x86_build-base
269 variables:
270 FDO_DISTRIBUTION_TAG: &s390x_build "2020-08-13-gold"
271
272 .use-s390x_build:
273 variables:
274 TAG: *s390x_build
275 image: "$CI_REGISTRY_IMAGE/debian/s390x_build:$TAG"
276 needs:
277 - s390x_build
278
279 # Debian 10 based x86 test image base
280 x86_test-base:
281 extends: x86_build-base
282 variables:
283 FDO_DISTRIBUTION_TAG: &x86_test-base "2020-08-13-gold"
284
285 .use-x86_test-base:
286 extends:
287 - x86_build-base
288 - .ci-run-policy
289 stage: container-2
290 variables:
291 BASE_TAG: *x86_test-base
292 FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/x86_test-base:$BASE_TAG"
293 needs:
294 - x86_test-base
295
296 # Debian 10 based x86 test image for GL
297 x86_test-gl:
298 extends: .use-x86_test-base
299 variables:
300 FDO_DISTRIBUTION_TAG: &x86_test-gl "2020-08-31-deqp-version"
301
302 # Debian 10 based x86 test image for VK
303 x86_test-vk:
304 extends: .use-x86_test-base
305 variables:
306 FDO_DISTRIBUTION_TAG: &x86_test-vk "2020-08-31-deqp-version"
307
308 # Debian 9 based x86 build image (old LLVM)
309 x86_build_old:
310 extends: x86_build-base
311 variables:
312 FDO_DISTRIBUTION_TAG: &x86_build_old "2020-08-13-gold"
313 FDO_DISTRIBUTION_VERSION: stretch-slim
314
315 .use-x86_build_old:
316 variables:
317 TAG: *x86_build_old
318 image: "$CI_REGISTRY_IMAGE/debian/x86_build_old:$TAG"
319 needs:
320 - x86_build_old
321
322 # Debian 10 based ARM build image
323 arm_build:
324 extends:
325 - .fdo.container-build@debian@arm64v8
326 - .container
327 variables:
328 FDO_DISTRIBUTION_TAG: &arm_build "2020-08-31-deqp-version"
329
330 .use-arm_build:
331 variables:
332 TAG: *arm_build
333 image: "$CI_REGISTRY_IMAGE/debian/arm_build:$TAG"
334 needs:
335 - arm_build
336
337 # Debian 10 based x86 baremetal image base
338 arm_test-base:
339 extends:
340 - .fdo.container-build@debian
341 - .container
342 variables:
343 FDO_DISTRIBUTION_TAG: &arm_test-base "2020-08-13-gold"
344
345 .use-arm_test-base:
346 extends:
347 - arm_test-base
348 - .ci-run-policy
349 stage: container-2
350 variables:
351 BASE_TAG: *arm_test-base
352 FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/arm_test-base:$BASE_TAG"
353 needs:
354 - arm_test-base
355
356 # x86 image with ARM64 rootfs for baremetal testing.
357 arm64_test:
358 extends:
359 - .use-arm_test-base
360 variables:
361 FDO_DISTRIBUTION_TAG: &arm64_test "2020-08-31-deqp-version"
362
363 .use-arm64_test:
364 variables:
365 TAG: *arm64_test
366 image: "$CI_REGISTRY_IMAGE/debian/arm64_test:$TAG"
367 needs:
368 - arm64_test
369
370 # Native Windows docker builds
371 #
372 # Unlike the above Linux-based builds - including MinGW/SCons builds which
373 # cross-compile for Windows - which use the freedesktop ci-templates, we
374 # cannot use the same scheme here. As Windows lacks support for
375 # Docker-in-Docker, and Podman does not run natively on Windows, we have
376 # to open-code much of the same ourselves.
377 #
378 # This is achieved by first running in a native Windows shell instance
379 # (host PowerShell) in the container stage to build and push the image,
380 # then in the build stage by executing inside Docker.
381
382 .windows-docker-vs2019:
383 variables:
384 WINDOWS_TAG: "2020-05-05-llvm"
385 WINDOWS_IMAGE: "$CI_REGISTRY_IMAGE/windows/x64_build:$WINDOWS_TAG"
386 WINDOWS_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/windows/x64_build:$WINDOWS_TAG"
387
388 .windows_build_vs2019:
389 extends:
390 - .container
391 - .windows-docker-vs2019
392 stage: container+docs
393 variables:
394 GIT_STRATEGY: fetch # we do actually need the full repository though
395 timeout: 4h # LLVM takes ages
396 tags:
397 - windows
398 - shell
399 - "1809"
400 - mesa
401 script:
402 - .\.gitlab-ci\windows\mesa_container.ps1 $CI_REGISTRY $CI_REGISTRY_USER $CI_REGISTRY_PASSWORD $WINDOWS_IMAGE $WINDOWS_UPSTREAM_IMAGE
403
404 .use-windows_build_vs2019:
405 extends: .windows-docker-vs2019
406 image: "$WINDOWS_IMAGE"
407 needs:
408 - windows_build_vs2019
409
410 git_archive:
411 extends: .fdo.container-build@alpine
412 stage: container+docs
413 rules:
414 - if: '$CI_PIPELINE_SOURCE == "schedule"'
415 when: always
416 variables:
417 FDO_REPO_SUFFIX: &git-archive-suffix "alpine/git_archive"
418 FDO_DISTRIBUTION_EXEC: 'pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates@6f5af7e5574509726c79109e3c147cee95e81366'
419 # no need to pull the whole repo to build the container image
420 GIT_STRATEGY: none
421 FDO_DISTRIBUTION_TAG: &git-archive-tag "2020-07-07"
422 FDO_DISTRIBUTION_PACKAGES: git py3-pip
423
424
425 # Git archive
426
427 make git archive:
428 stage: git-archive
429 extends: .fdo.suffixed-image@alpine
430 rules:
431 - if: '$CI_PIPELINE_SOURCE == "schedule"'
432 when: on_success
433 # ensure we are running on packet
434 tags:
435 - packet.net
436 variables:
437 FDO_DISTRIBUTION_TAG: *git-archive-tag
438 FDO_REPO_SUFFIX: *git-archive-suffix
439 needs:
440 - git_archive
441
442 script:
443 # compress the current folder
444 - tar -cvzf ../$CI_PROJECT_NAME.tar.gz .
445
446 # login with the JWT token
447 - ci-fairy minio login $CI_JOB_JWT
448 - ci-fairy minio cp ../$CI_PROJECT_NAME.tar.gz minio://minio-packet.freedesktop.org/git-cache/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/$CI_PROJECT_NAME.tar.gz
449
450
451 # BUILD
452
453 # Shared between windows and Linux
454 .build-common:
455 extends: .ci-run-policy
456 # Cancel job if a newer commit is pushed to the same branch
457 interruptible: true
458 artifacts:
459 name: "mesa_${CI_JOB_NAME}"
460 when: always
461 paths:
462 - _build/meson-logs/*.txt
463 # scons:
464 - build/*/config.log
465 - shader-db
466
467 # Just Linux
468 .build-linux:
469 extends: .build-common
470 variables:
471 CCACHE_COMPILERCHECK: "content"
472 CCACHE_COMPRESS: "true"
473 CCACHE_DIR: /cache/mesa/ccache
474 # Use ccache transparently, and print stats before/after
475 before_script:
476 - export PATH="/usr/lib/ccache:$PATH"
477 - export CCACHE_BASEDIR="$PWD"
478 - ccache --show-stats
479 after_script:
480 - ccache --show-stats
481
482 .build-windows:
483 extends: .build-common
484 tags:
485 - windows
486 - docker
487 - "1809"
488 - mesa
489 cache:
490 key: ${CI_JOB_NAME}
491 paths:
492 - subprojects/packagecache
493
494 .meson-build:
495 extends:
496 - .build-linux
497 - .use-x86_build
498 stage: meson-x86_64
499 variables:
500 LLVM_VERSION: 9
501 script:
502 - .gitlab-ci/meson-build.sh
503
504 .scons-build:
505 extends:
506 - .build-linux
507 - .use-x86_build
508 stage: scons
509 script:
510 - env SCONSFLAGS="-j${FDO_CI_CONCURRENT:-4}" .gitlab-ci/scons-build.sh
511
512 meson-testing:
513 extends:
514 - .meson-build
515 - .ci-deqp-artifacts
516 variables:
517 UNWIND: "enabled"
518 DRI_LOADERS: >
519 -D glx=dri
520 -D gbm=enabled
521 -D egl=enabled
522 -D platforms=x11
523 GALLIUM_ST: >
524 -D dri3=enabled
525 GALLIUM_DRIVERS: "swrast,virgl,radeonsi"
526 VULKAN_DRIVERS: amd
527 BUILDTYPE: "debugoptimized"
528 EXTRA_OPTION: >
529 -D werror=true
530 UPLOAD_FOR_LAVA: 1
531 DEBIAN_ARCH: amd64
532 script:
533 - .gitlab-ci/meson-build.sh
534 - .gitlab-ci/prepare-artifacts.sh
535
536 meson-gallium:
537 extends: .meson-build
538 variables:
539 UNWIND: "enabled"
540 DRI_LOADERS: >
541 -D glx=dri
542 -D gbm=enabled
543 -D egl=enabled
544 -D platforms=x11,wayland
545 GALLIUM_ST: >
546 -D dri3=enabled
547 -D gallium-extra-hud=true
548 -D gallium-vdpau=enabled
549 -D gallium-xvmc=enabled
550 -D gallium-omx=bellagio
551 -D gallium-va=enabled
552 -D gallium-xa=enabled
553 -D gallium-nine=true
554 -D gallium-opencl=disabled
555 GALLIUM_DRIVERS: "iris,nouveau,kmsro,r300,r600,freedreno,swr,swrast,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink"
556 VULKAN_DRIVERS: swrast
557 EXTRA_OPTION: >
558 -D osmesa=gallium
559 -D tools=all
560 -D werror=true
561 script:
562 - .gitlab-ci/meson-build.sh
563 - .gitlab-ci/run-shader-db.sh
564 - src/freedreno/.gitlab-ci/run-fdtools.sh
565
566 # Test a release build with -Werror so new warnings don't sneak in.
567 meson-release:
568 extends: .meson-build
569 variables:
570 UNWIND: "enabled"
571 DRI_LOADERS: >
572 -D glx=dri
573 -D gbm=enabled
574 -D egl=enabled
575 -D platforms=x11,wayland
576 GALLIUM_ST: >
577 -D dri3=enabled
578 -D gallium-extra-hud=true
579 -D gallium-vdpau=enabled
580 -D gallium-xvmc=disabled
581 -D gallium-omx=disabled
582 -D gallium-va=enabled
583 -D gallium-xa=enabled
584 -D gallium-nine=false
585 -D gallium-opencl=disabled
586 -D llvm=false
587 GALLIUM_DRIVERS: "nouveau,kmsro,r300,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink"
588 BUILDTYPE: "release"
589 EXTRA_OPTION: >
590 -D osmesa=none
591 -D tools=all
592 -D werror=true
593 script:
594 - .gitlab-ci/meson-build.sh
595
596 meson-classic:
597 extends: .meson-build
598 variables:
599 UNWIND: "enabled"
600 DRI_LOADERS: >
601 -D glx=dri
602 -D gbm=enabled
603 -D egl=enabled
604 -D platforms=x11,wayland,drm,surfaceless
605 DRI_DRIVERS: "auto"
606 EXTRA_OPTION: >
607 -D osmesa=classic
608 -D tools=all
609 -D werror=true
610
611 meson-android:
612 extends: .meson-build
613 variables:
614 UNWIND: "disabled"
615 DRI_LOADERS: >
616 -D glx=disabled
617 -D gbm=disabled
618 -D egl=enabled
619 -D platforms=android
620 GALLIUM_DRIVERS: freedreno
621 VULKAN_DRIVERS: freedreno,intel,amd
622 EXTRA_OPTION: >
623 -D android-stub=true
624 -D werror=true
625 GALLIUM_ST: >
626 -D dri3=disabled
627 -D gallium-vdpau=disabled
628 -D gallium-xvmc=disabled
629 -D gallium-omx=disabled
630 -D gallium-va=disabled
631 -D gallium-xa=disabled
632 -D gallium-nine=false
633 -D gallium-opencl=disabled
634
635 .meson-cross:
636 extends:
637 - .meson-build
638 stage: meson-misc
639 variables:
640 UNWIND: "disabled"
641 DRI_LOADERS: >
642 -D glx=disabled
643 -D gbm=disabled
644 -D egl=enabled
645 -D platforms=[]
646 -D osmesa=none
647 GALLIUM_ST: >
648 -D dri3=disabled
649 -D gallium-vdpau=disabled
650 -D gallium-xvmc=disabled
651 -D gallium-omx=disabled
652 -D gallium-va=disabled
653 -D gallium-xa=disabled
654 -D gallium-nine=false
655 LLVM_VERSION: "8"
656
657 .meson-arm:
658 extends:
659 - .meson-cross
660 - .use-arm_build
661 variables:
662 VULKAN_DRIVERS: freedreno
663 GALLIUM_DRIVERS: "etnaviv,freedreno,kmsro,lima,nouveau,panfrost,swrast,tegra,v3d,vc4"
664 BUILDTYPE: "debugoptimized"
665 tags:
666 - aarch64
667
668 meson-armhf:
669 extends:
670 - .meson-arm
671 - .ci-deqp-artifacts
672 variables:
673 CROSS: armhf
674 LLVM_VERSION: "7"
675 EXTRA_OPTION: >
676 -D llvm=disabled
677 UPLOAD_FOR_LAVA: 1
678 DEBIAN_ARCH: armhf
679 script:
680 - .gitlab-ci/meson-build.sh
681 - .gitlab-ci/prepare-artifacts.sh
682
683 meson-arm64:
684 extends:
685 - .meson-arm
686 - .ci-deqp-artifacts
687 variables:
688 VULKAN_DRIVERS: "freedreno"
689 EXTRA_OPTION: >
690 -D llvm=disabled
691 UPLOAD_FOR_LAVA: 1
692 DEBIAN_ARCH: arm64
693 script:
694 - .gitlab-ci/meson-build.sh
695 - .gitlab-ci/prepare-artifacts.sh
696
697 meson-arm64-build-test:
698 extends:
699 - .meson-arm
700 - .ci-deqp-artifacts
701 variables:
702 VULKAN_DRIVERS: "amd"
703 EXTRA_OPTION: >
704 -Dtools=panfrost
705 script:
706 - .gitlab-ci/meson-build.sh
707
708 meson-clang:
709 extends: .meson-build
710 variables:
711 UNWIND: "enabled"
712 DRI_LOADERS: >
713 -D glvnd=true
714 DRI_DRIVERS: "auto"
715 GALLIUM_DRIVERS: "auto"
716 VULKAN_DRIVERS: intel,amd,freedreno
717 CC: "ccache clang-9"
718 CXX: "ccache clang++-9"
719
720 .meson-windows-vs2019:
721 extends:
722 - .build-windows
723 - .use-windows_build_vs2019
724 stage: meson-misc
725 script:
726 - . .\.gitlab-ci\windows\mesa_build.ps1
727
728 scons-win64:
729 extends: .scons-build
730 variables:
731 SCONS_TARGET: platform=windows machine=x86_64 debug=1
732 SCONS_CHECK_COMMAND: "true"
733 allow_failure: true
734
735 meson-clover:
736 extends: .meson-build
737 variables:
738 UNWIND: "enabled"
739 DRI_LOADERS: >
740 -D glx=disabled
741 -D egl=disabled
742 -D gbm=disabled
743 GALLIUM_DRIVERS: "r600,radeonsi"
744 GALLIUM_ST: >
745 -D dri3=disabled
746 -D gallium-vdpau=disabled
747 -D gallium-xvmc=disabled
748 -D gallium-omx=disabled
749 -D gallium-va=disabled
750 -D gallium-xa=disabled
751 -D gallium-nine=false
752 -D gallium-opencl=icd
753 script:
754 - .gitlab-ci/meson-build.sh
755 - LLVM_VERSION=8 .gitlab-ci/meson-build.sh
756
757 meson-clover-old-llvm:
758 extends:
759 - meson-clover
760 - .use-x86_build_old
761 variables:
762 UNWIND: "disabled"
763 DRI_LOADERS: >
764 -D glx=disabled
765 -D egl=disabled
766 -D gbm=disabled
767 -D platforms=[]
768 GALLIUM_DRIVERS: "i915,r600"
769 script:
770 - LLVM_VERSION=3.9 .gitlab-ci/meson-build.sh
771 - LLVM_VERSION=4.0 .gitlab-ci/meson-build.sh
772 - LLVM_VERSION=5.0 .gitlab-ci/meson-build.sh
773 - LLVM_VERSION=6.0 .gitlab-ci/meson-build.sh
774 - LLVM_VERSION=7 .gitlab-ci/meson-build.sh
775
776 meson-vulkan:
777 extends: .meson-build
778 variables:
779 UNWIND: "disabled"
780 DRI_LOADERS: >
781 -D glx=disabled
782 -D gbm=disabled
783 -D egl=disabled
784 -D platforms=x11,wayland
785 -D osmesa=none
786 GALLIUM_ST: >
787 -D dri3=enabled
788 -D gallium-vdpau=disabled
789 -D gallium-xvmc=disabled
790 -D gallium-omx=disabled
791 -D gallium-va=disabled
792 -D gallium-xa=disabled
793 -D gallium-nine=false
794 -D gallium-opencl=disabled
795 -D b_sanitize=undefined
796 -D c_args=-fno-sanitize-recover=all
797 -D cpp_args=-fno-sanitize-recover=all
798 UBSAN_OPTIONS: "print_stacktrace=1"
799 VULKAN_DRIVERS: intel,amd,freedreno
800 EXTRA_OPTION: >
801 -D vulkan-overlay-layer=true
802 -D build-aco-tests=true
803 -D werror=true
804
805 meson-i386:
806 extends:
807 - .meson-cross
808 - .use-i386_build
809 variables:
810 CROSS: i386
811 VULKAN_DRIVERS: intel,amd
812 GALLIUM_DRIVERS: "iris,r300,radeonsi,swrast,virgl"
813 EXTRA_OPTION: >
814 -D vulkan-overlay-layer=true
815 -D werror=true
816
817 meson-s390x:
818 extends:
819 - .meson-cross
820 - .use-s390x_build
821 tags:
822 - kvm
823 variables:
824 CROSS: s390x
825 EXTRA_OPTION: >
826 -D werror=true
827 GALLIUM_DRIVERS: "swrast"
828
829 meson-ppc64el:
830 extends:
831 - meson-s390x
832 - .use-ppc64el_build
833 variables:
834 CROSS: ppc64el
835 EXTRA_OPTION: ""
836 GALLIUM_DRIVERS: "nouveau,radeonsi,swrast,virgl"
837 VULKAN_DRIVERS: "amd"
838
839 meson-mingw32-x86_64:
840 extends: .meson-build
841 stage: meson-misc
842 variables:
843 UNWIND: "disabled"
844 DRI_DRIVERS: ""
845 GALLIUM_DRIVERS: "swrast"
846 EXTRA_OPTION: >
847 -Dllvm=disabled
848 -Dosmesa=gallium
849 --cross-file=.gitlab-ci/x86_64-w64-mingw32
850
851 .test:
852 extends:
853 - .ci-run-policy
854 # Cancel job if a newer commit is pushed to the same branch
855 interruptible: true
856 variables:
857 GIT_STRATEGY: none # testing doesn't build anything from source
858 before_script:
859 # Note: Build dir (and thus install) may be dirty due to GIT_STRATEGY
860 - rm -rf install
861 - tar -xf artifacts/install.tar
862 - LD_LIBRARY_PATH=install/lib find install/lib -name "*.so" -print -exec ldd {} \;
863 artifacts:
864 when: always
865 name: "mesa_${CI_JOB_NAME}"
866 paths:
867 - results/
868
869 .test-gl:
870 extends:
871 - .test
872 variables:
873 TAG: *x86_test-gl
874 image: "$CI_REGISTRY_IMAGE/debian/x86_test-gl:$TAG"
875 needs:
876 - meson-testing
877 - x86_test-gl
878
879 .test-vk:
880 extends:
881 - .test
882 variables:
883 TAG: *x86_test-vk
884 image: "$CI_REGISTRY_IMAGE/debian/x86_test-vk:$TAG"
885 needs:
886 - meson-testing
887 - x86_test-vk
888
889 .piglit-test:
890 extends:
891 - .test-gl
892 - .llvmpipe-rules
893 artifacts:
894 when: on_failure
895 name: "mesa_${CI_JOB_NAME}"
896 paths:
897 - summary/
898 variables:
899 LIBGL_ALWAYS_SOFTWARE: 1
900 PIGLIT_NO_WINDOW: 1
901 script:
902 - install/piglit/run.sh
903
904 piglit-quick_gl:
905 extends: .piglit-test
906 variables:
907 LP_NUM_THREADS: 0
908 NIR_VALIDATE: 0
909 PIGLIT_OPTIONS: >
910 --process-isolation false
911 -x egl_ext_device_
912 -x egl_ext_platform_device
913 -x ext_timer_query@time-elapsed
914 -x glx-multithread-clearbuffer
915 -x glx-multithread-shader-compile
916 -x max-texture-size
917 -x maxsize
918 PIGLIT_PROFILES: quick_gl
919
920 piglit-glslparser:
921 extends: .piglit-test
922 variables:
923 LP_NUM_THREADS: 0
924 NIR_VALIDATE: 0
925 PIGLIT_PROFILES: glslparser
926
927 piglit-quick_shader:
928 extends: .piglit-test
929 variables:
930 LP_NUM_THREADS: 1
931 NIR_VALIDATE: 0
932 PIGLIT_PROFILES: quick_shader
933
934 .deqp-test:
935 variables:
936 DEQP_SKIPS: deqp-default-skips.txt
937 script:
938 - ./install/deqp-runner.sh
939
940 .deqp-test-gl:
941 extends:
942 - .test-gl
943 - .deqp-test
944
945 .deqp-test-vk:
946 extends:
947 - .test-vk
948 - .deqp-test
949 variables:
950 DEQP_VER: vk
951
952 .fossilize-test:
953 extends: .test-vk
954 script:
955 - ./install/fossilize-runner.sh
956 artifacts:
957 when: on_failure
958 name: "mesa_${CI_JOB_NAME}"
959 paths:
960 - results/
961
962 llvmpipe-gles2:
963 variables:
964 DEQP_VER: gles2
965 NIR_VALIDATE: 0
966 # Don't use threads inside llvmpipe, we've already got all cores
967 # busy at the deqp-runner level.
968 LP_NUM_THREADS: 0
969 DEQP_EXPECTED_FAILS: deqp-llvmpipe-fails.txt
970 LIBGL_ALWAYS_SOFTWARE: "true"
971 DEQP_EXPECTED_RENDERER: llvmpipe
972 extends:
973 - .deqp-test-gl
974 - .llvmpipe-rules
975
976 softpipe-gles2:
977 extends:
978 - llvmpipe-gles2
979 - .softpipe-rules
980 variables:
981 DEQP_EXPECTED_FAILS: deqp-softpipe-fails.txt
982 DEQP_SKIPS: deqp-softpipe-skips.txt
983 GALLIUM_DRIVER: "softpipe"
984 DEQP_EXPECTED_RENDERER: softpipe
985
986 softpipe-gles3:
987 variables:
988 DEQP_VER: gles3
989 extends: softpipe-gles2
990
991 softpipe-gles31:
992 parallel: 2
993 variables:
994 DEQP_VER: gles31
995 extends: softpipe-gles2
996
997 # Note that KHR-GL3* test sets include all tests from the previous
998 # version, so we only need to run one test list (unlike dEQP-GLES,
999 # where the test sets are separate).
1000 softpipe-gl:
1001 variables:
1002 DEQP_VER: gl33
1003 extends:
1004 - softpipe-gles2
1005
1006 virgl-gles2-on-gl:
1007 variables:
1008 DEQP_VER: gles2
1009 NIR_VALIDATE: 0
1010 DEQP_NO_SAVE_RESULTS: 1
1011 DEQP_SKIPS: deqp-virgl-gl-skips.txt
1012 # Don't use threads inside llvmpipe, we've already got all cores
1013 # busy at the deqp-runner level.
1014 LP_NUM_THREADS: 0
1015 DEQP_EXPECTED_FAILS: deqp-virgl-gl-fails.txt
1016 DEQP_OPTIONS: "--deqp-log-images=disable"
1017 LIBGL_ALWAYS_SOFTWARE: "true"
1018 GALLIUM_DRIVER: "virpipe"
1019 DEQP_EXPECTED_RENDERER: virgl
1020 extends:
1021 - .deqp-test-gl
1022 - .virgl-rules
1023
1024 virgl-gles3-on-gl:
1025 variables:
1026 DEQP_VER: gles3
1027 DEQP_RUNNER_OPTIONS: "--timeout 180"
1028 extends: virgl-gles2-on-gl
1029
1030 virgl-gles31-on-gl:
1031 parallel: 2
1032 variables:
1033 DEQP_VER: gles31
1034 MESA_GLES_VERSION_OVERRIDE: "3.1"
1035 MESA_GLSL_VERSION_OVERRIDE: "310"
1036 MESA_EXTENSION_OVERRIDE: "-GL_OES_tessellation_shader"
1037 extends: virgl-gles3-on-gl
1038
1039 virgl-gl30-on-gl:
1040 variables:
1041 DEQP_VER: gl30
1042 extends: virgl-gles2-on-gl
1043
1044 virgl-gl31-on-gl:
1045 variables:
1046 DEQP_VER: gl31
1047 extends: virgl-gles2-on-gl
1048
1049 virgl-gl32-on-gl:
1050 variables:
1051 DEQP_VER: gl32
1052 extends: virgl-gles2-on-gl
1053
1054 # Rules for tests that should not be present in MRs or the main
1055 # project's pipeline (don't block marge or report red on
1056 # mesa/mesamaster) but should be present on pipelines in personal
1057 # branches (so you can opt in to running the flaky test when you want
1058 # to).
1059 .test-manual:
1060 rules:
1061 - *ignore_scheduled_pipelines
1062 - if: '$CI_PROJECT_PATH != "mesa/mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
1063 changes:
1064 *all_paths
1065 when: manual
1066 - when: never
1067
1068 virgl-gles2-on-gles:
1069 variables:
1070 VIRGL_HOST_API: GLES
1071 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1072 extends:
1073 - virgl-gles2-on-gl
1074 - .test-manual
1075
1076 virgl-gles3-on-gles:
1077 variables:
1078 VIRGL_HOST_API: GLES
1079 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1080 extends:
1081 - virgl-gles3-on-gl
1082 - .test-manual
1083
1084 virgl-gles31-on-gles:
1085 variables:
1086 VIRGL_HOST_API: GLES
1087 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1088 extends:
1089 - virgl-gles31-on-gl
1090 - .test-manual
1091
1092 arm64_a630_gles2:
1093 extends:
1094 - arm64_a306_gles2
1095 variables:
1096 BM_KERNEL: /lava-files/cheza-kernel
1097 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 root=/dev/nfs rw nfsrootdebug nfsroot=,tcp,nfsvers=4.2 init=/init"
1098 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-fails.txt
1099 DEQP_FLAKES: deqp-freedreno-a630-flakes.txt
1100 GIT_STRATEGY: none
1101 DEQP_EXPECTED_RENDERER: FD630
1102 DEQP_NO_SAVE_RESULTS: ""
1103 tags:
1104 - google-freedreno-cheza
1105 script:
1106 - ./install/bare-metal/cros-servo.sh
1107
1108 arm64_a630_gles31:
1109 extends: arm64_a630_gles2
1110 variables:
1111 DEQP_VER: gles31
1112 # gles31 is about 12 minutes with validation enabled.
1113 NIR_VALIDATE: 0
1114
1115 arm64_a630_gles3:
1116 extends: arm64_a630_gles2
1117 variables:
1118 DEQP_VER: gles3
1119 # gles3 is about 15 minutes with validation enabled.
1120 NIR_VALIDATE: 0
1121
1122 # We almost always manage to lower UBOs back to constant uploads in
1123 # the test suite, so get a little testing for it here.
1124 arm64_a630_noubo:
1125 extends: arm64_a630_gles31
1126 variables:
1127 DEQP_VER: gles31
1128 IR3_SHADER_DEBUG: nouboopt
1129 DEQP_CASELIST_FILTER: "functional.*ubo"
1130
1131 # The driver does some guessing as to whether to render using gmem
1132 # or bypass, and some GLES3.1 features interact with either one.
1133 # Do a little testing with gmem and bypass forced.
1134 arm64_a630_bypass:
1135 extends: arm64_a630_gles31
1136 variables:
1137 CI_NODE_INDEX: 1
1138 CI_NODE_TOTAL: 5
1139 FD_MESA_DEBUG: nogmem
1140 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-bypass-fails.txt
1141
1142 arm64_a630_traces:
1143 extends:
1144 - arm64_a630_gles2
1145 variables:
1146 BARE_METAL_TEST_SCRIPT: "/install/tracie-runner-gl.sh"
1147 DEVICE_NAME: "freedreno-a630"
1148 DRIVER_NAME: "freedreno"
1149 TRACIE_NO_UNIT_TESTS: 1
1150 TRACIE_UPLOAD_TO_MINIO: 1
1151 # This lets us run several more traces which don't use any features we're
1152 # missing.
1153 MESA_GLSL_VERSION_OVERRIDE: "460"
1154 MESA_GL_VERSION_OVERRIDE: "4.6"
1155
1156 # Along with checking gmem path, check that we don't get obvious nir
1157 # validation failures (though it's too expensive to have it on for the
1158 # full CTS)
1159 arm64_a630_gmem:
1160 extends: arm64_a630_gles31
1161 variables:
1162 CI_NODE_INDEX: 1
1163 CI_NODE_TOTAL: 5
1164 FD_MESA_DEBUG: nobypass
1165 NIR_VALIDATE: 1
1166
1167 arm64_a630_gl:
1168 extends: arm64_a630_gles2
1169 variables:
1170 DEQP_VER: gl30
1171
1172 arm64_a630_vk:
1173 extends: arm64_a630_gles2
1174 variables:
1175 DEQP_VER: vk
1176 CI_NODE_INDEX: 1
1177 CI_NODE_TOTAL: 50
1178 VK_DRIVER: freedreno
1179 # Force binning in the main run, which makes sure we render at
1180 # least 2 bins. This is the path that impacts the most different
1181 # features. However, we end up with flaky results in
1182 # dEQP-VK.binding_model.*.geometry and dEQP-VK.glsl.*_vertex.
1183 TU_DEBUG: forcebin
1184
1185 # Do a separate sysmem pass over the testcases that really affect sysmem
1186 # rendering. This is currently very flaky, leave it as an option for devs
1187 # to click play on in their branches.
1188 arm64_a630_vk_sysmem:
1189 extends:
1190 - arm64_a630_vk
1191 variables:
1192 CI_NODE_INDEX: 1
1193 CI_NODE_TOTAL: 10
1194 DEQP_CASELIST_FILTER: "dEQP-VK.renderpass.*"
1195 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-bypass-fails.txt
1196 TU_DEBUG: sysmem
1197
1198 .baremetal-test:
1199 extends:
1200 - .ci-run-policy
1201 - .test
1202 # Cancel job if a newer commit is pushed to the same branch
1203 interruptible: true
1204 stage: test
1205 artifacts:
1206 when: always
1207 name: "mesa_${CI_JOB_NAME}"
1208 paths:
1209 - results/
1210 - serial*.txt
1211
1212 arm64_a306_gles2:
1213 extends:
1214 - .baremetal-test
1215 - .use-arm64_test
1216 - .freedreno-rules
1217 variables:
1218 BM_KERNEL: /lava-files/Image.gz
1219 BM_DTB: /lava-files/apq8016-sbc.dtb
1220 BM_ROOTFS: /lava-files/rootfs-arm64
1221 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8"
1222 FLAKES_CHANNEL: "#freedreno-ci"
1223 BARE_METAL_TEST_SCRIPT: "/install/deqp-runner.sh"
1224 DEQP_EXPECTED_FAILS: deqp-freedreno-a307-fails.txt
1225 DEQP_SKIPS: deqp-default-skips.txt
1226 DEQP_FLAKES: deqp-freedreno-a307-flakes.txt
1227 DEQP_VER: gles2
1228 DEQP_PARALLEL: 4
1229 DEQP_EXPECTED_RENDERER: FD307
1230 # Since we can't get artifacts back yet, skip making them.
1231 DEQP_NO_SAVE_RESULTS: 1
1232 # NIR_VALIDATE=0 left intentionally unset as a3xx is fast enough at its small testsuite.
1233 script:
1234 - ./install/bare-metal/fastboot.sh
1235 needs:
1236 - arm64_test
1237 - meson-arm64
1238 tags:
1239 - google-freedreno-db410c
1240
1241 # Fractional run, single threaded, due to flaky results
1242 arm64_a306_gles3:
1243 extends:
1244 - arm64_a306_gles2
1245 variables:
1246 DEQP_VER: gles3
1247 DEQP_PARALLEL: 1
1248 CI_NODE_INDEX: 1
1249 CI_NODE_TOTAL: 25
1250 NIR_VALIDATE: 0
1251
1252 # Fractional runs with debug options. Note that since we're not
1253 # hitting the iommu faults, we can run in parallel (derive from gles2, not gles3).
1254 arm64_a306_gles3_options:
1255 extends: arm64_a306_gles2
1256 variables:
1257 DEQP_VER: gles3
1258 script:
1259 # Check that the non-constbuf UBO case works.
1260 - DEQP_RUN_SUFFIX=-nouboopt IR3_SHADER_DEBUG=nouboopt DEQP_CASELIST_FILTER="functional.*ubo" ./install/bare-metal/fastboot.sh
1261
1262 arm64_a530_gles2:
1263 extends:
1264 - arm64_a306_gles2
1265 variables:
1266 BM_KERNEL: /lava-files/db820c-kernel
1267 BM_DTB: /lava-files/db820c.dtb
1268 # Disable SMP because only CPU 0 is at a freq higher than 19mhz on
1269 # current upstream kernel.
1270 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 nosmp"
1271 DEQP_EXPECTED_FAILS: deqp-freedreno-a530-fails.txt
1272 DEQP_FLAKES: deqp-freedreno-a530-flakes.txt
1273 DEQP_EXPECTED_RENDERER: FD530
1274 NIR_VALIDATE: 0
1275 tags:
1276 - google-freedreno-db820c
1277
1278 arm64_a530_gles3:
1279 extends:
1280 - arm64_a530_gles2
1281 variables:
1282 DEQP_VER: gles3
1283 DEQP_PARALLEL: 1
1284 CI_NODE_INDEX: 1
1285 CI_NODE_TOTAL: 40
1286
1287 arm64_a530_gles31:
1288 extends:
1289 - arm64_a530_gles3
1290 variables:
1291 DEQP_VER: gles31
1292 CI_NODE_INDEX: 1
1293 CI_NODE_TOTAL: 10
1294
1295 # RADV CI
1296 .test-radv:
1297 extends: .radv-rules
1298 stage: radv
1299 variables:
1300 VK_DRIVER: radeon
1301 ACO_DEBUG: validateir,validatera
1302
1303 # Can only be triggered manually on personal branches because RADV is the only
1304 # driver that does Vulkan testing at the moment.
1305 radv_polaris10_vkcts:
1306 extends:
1307 - .deqp-test-vk
1308 - .test-radv
1309 - .test-manual
1310 variables:
1311 DEQP_SKIPS: deqp-radv-polaris10-skips.txt
1312 tags:
1313 - polaris10
1314
1315 radv-fossils:
1316 extends:
1317 - .fossilize-test
1318 - .test-radv
1319 script:
1320 # Pitcairn (GFX6)
1321 - export RADV_FORCE_FAMILY="pitcairn"
1322 - ./install/fossilize-runner.sh
1323 # Bonaire (GFX7)
1324 - export RADV_FORCE_FAMILY="bonaire"
1325 - ./install/fossilize-runner.sh
1326 # Polaris10 (GFX8)
1327 - export RADV_FORCE_FAMILY="polaris10"
1328 - ./install/fossilize-runner.sh
1329 # Vega10 (GFX9)
1330 - export RADV_FORCE_FAMILY="gfx900"
1331 - ./install/fossilize-runner.sh
1332 # Navi10 (GFX10)
1333 - export RADV_FORCE_FAMILY="gfx1010"
1334 - ./install/fossilize-runner.sh
1335 # Sienna Cichlid (GFX10)
1336 - export RADV_FORCE_FAMILY="gfx1030"
1337 - ./install/fossilize-runner.sh
1338
1339 # Traces CI
1340 .traces-test:
1341 cache:
1342 key: ${CI_JOB_NAME}
1343 paths:
1344 - traces-db/
1345 variables:
1346 TRACIE_UPLOAD_TO_MINIO: 1
1347
1348 .traces-test-gl:
1349 extends:
1350 - .test-gl
1351 - .traces-test
1352 script:
1353 - ./install/tracie-runner-gl.sh
1354
1355 .traces-test-vk:
1356 extends:
1357 - .test-vk
1358 - .traces-test
1359 script:
1360 - ./install/tracie-runner-vk.sh
1361
1362 llvmpipe-traces:
1363 extends:
1364 - .traces-test-gl
1365 - .llvmpipe-rules
1366 variables:
1367 LIBGL_ALWAYS_SOFTWARE: "true"
1368 GALLIUM_DRIVER: "llvmpipe"
1369 DEVICE_NAME: "gl-vmware-llvmpipe"
1370 DRIVER_NAME: "llvmpipe"
1371
1372 radv-polaris10-traces:
1373 extends:
1374 - .traces-test-vk
1375 - .test-radv
1376 - .test-manual
1377 variables:
1378 DEVICE_NAME: "vk-amd-polaris10"
1379 DRIVER_NAME: "radv"
1380 tags:
1381 - polaris10
1382
1383 radv-raven-traces:
1384 extends:
1385 - .traces-test-vk
1386 - .test-radv
1387 - .test-manual
1388 variables:
1389 DEVICE_NAME: "vk-amd-raven"
1390 DRIVER_NAME: "radv"
1391 tags:
1392 - raven
1393
1394 virgl-traces:
1395 extends:
1396 - .traces-test-gl
1397 - .virgl-rules
1398 variables:
1399 LIBGL_ALWAYS_SOFTWARE: "true"
1400 GALLIUM_DRIVER: "virpipe"
1401 DEVICE_NAME: "gl-virgl"
1402 DRIVER_NAME: "virgl"
1403 MESA_GLES_VERSION_OVERRIDE: "3.1"
1404 MESA_GLSL_VERSION_OVERRIDE: "310"