ci: Build d3d12 gallium driver in debian-x86_32
Adding d3d12 to this ci build will prevent issues such as #6708 or fixes like !26363 from happening again in the future. Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26447>
This commit is contained in:
@@ -614,7 +614,7 @@ debian-x86_32:
|
||||
BUILDTYPE: debug
|
||||
CROSS: i386
|
||||
VULKAN_DRIVERS: intel,amd,swrast,virtio
|
||||
GALLIUM_DRIVERS: "iris,nouveau,r300,r600,radeonsi,swrast,virgl,zink,crocus"
|
||||
GALLIUM_DRIVERS: "iris,nouveau,r300,r600,radeonsi,swrast,virgl,zink,crocus,d3d12"
|
||||
LLVM_VERSION: 15
|
||||
EXTRA_OPTION: >
|
||||
-D vulkan-layers=device-select,overlay
|
||||
|
15
.gitlab-ci/container/build-directx-headers.sh
Normal file
15
.gitlab-ci/container/build-directx-headers.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
# shellcheck disable=SC2086 # we want word splitting
|
||||
|
||||
# When changing this file, you need to bump the following
|
||||
# .gitlab-ci/image-tags.yml tags:
|
||||
# DEBIAN_BUILD_TAG
|
||||
|
||||
set -ex
|
||||
|
||||
git clone https://github.com/microsoft/DirectX-Headers -b v1.711.3-preview --depth 1
|
||||
pushd DirectX-Headers
|
||||
meson setup build --backend=ninja --buildtype=release -Dbuild-test=false $EXTRA_MESON_ARGS
|
||||
meson install -C build
|
||||
popd
|
||||
rm -rf DirectX-Headers
|
@@ -76,6 +76,8 @@ export EXTRA_MESON_ARGS="--cross-file=/cross_file-${arch}.txt -D libdir=lib/${MU
|
||||
|
||||
. .gitlab-ci/container/build-wayland.sh
|
||||
|
||||
. .gitlab-ci/container/build-directx-headers.sh
|
||||
|
||||
apt-get purge -y "${EPHEMERAL[@]}"
|
||||
|
||||
. .gitlab-ci/container/container_post_build.sh
|
||||
|
@@ -83,12 +83,7 @@ rm -rf $XORGMACROS_VERSION
|
||||
|
||||
. .gitlab-ci/container/build-shader-db.sh
|
||||
|
||||
git clone https://github.com/microsoft/DirectX-Headers -b v1.711.3-preview --depth 1
|
||||
pushd DirectX-Headers
|
||||
meson setup build --backend=ninja --buildtype=release -Dbuild-test=false
|
||||
meson install -C build
|
||||
popd
|
||||
rm -rf DirectX-Headers
|
||||
. .gitlab-ci/container/build-directx-headers.sh
|
||||
|
||||
python3 -m pip install --break-system-packages -r .gitlab-ci/lava/requirements.txt
|
||||
|
||||
|
@@ -10,7 +10,7 @@ variables:
|
||||
DEBIAN_BASE_TAG: "2023-11-18-deqp-runner"
|
||||
|
||||
DEBIAN_X86_64_BUILD_IMAGE_PATH: "debian/x86_64_build"
|
||||
DEBIAN_BUILD_TAG: "2023-11-20-meson"
|
||||
DEBIAN_BUILD_TAG: "2023-12-01-debian-x86_32-d3d12_2"
|
||||
|
||||
DEBIAN_X86_64_TEST_BASE_IMAGE: "debian/x86_64_test-base"
|
||||
|
||||
|
@@ -1048,6 +1048,7 @@ else
|
||||
'-fno-trapping-math',
|
||||
'-Qunused-arguments',
|
||||
'-fno-common',
|
||||
'-Wno-unknown-pragmas',
|
||||
# Clang
|
||||
'-Wno-microsoft-enum-value',
|
||||
'-Wno-unused-function',
|
||||
@@ -1067,6 +1068,7 @@ else
|
||||
# to the memory before the constructor as "dead stores".
|
||||
# For now we disable this optimization.
|
||||
'-flifetime-dse=1',
|
||||
'-Wno-unknown-pragmas',
|
||||
# Clang
|
||||
'-Wno-microsoft-enum-value',
|
||||
]
|
||||
|
@@ -24,6 +24,8 @@
|
||||
#ifndef D3D12_COMPILER_H
|
||||
#define D3D12_COMPILER_H
|
||||
|
||||
#include "d3d12_common.h"
|
||||
|
||||
#include "dxil_nir_lower_int_samplers.h"
|
||||
|
||||
#include "pipe/p_defines.h"
|
||||
|
Reference in New Issue
Block a user