d3d12: Update and require DirectX-Headers 1.610.0

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22454>
This commit is contained in:
Giancarlo Devich
2023-04-11 16:38:41 -07:00
committed by Marge Bot
parent 5dc4212cc1
commit cc6d87b462
9 changed files with 11 additions and 11 deletions

View File

@@ -83,7 +83,7 @@ cd shader-db
make
popd
git clone https://github.com/microsoft/DirectX-Headers -b v1.606.4 --depth 1
git clone https://github.com/microsoft/DirectX-Headers -b v1.610.0 --depth 1
mkdir -p DirectX-Headers/build
pushd DirectX-Headers/build
meson .. --backend=ninja --buildtype=release -Dbuild-test=false

View File

@@ -3,7 +3,7 @@ variables:
DEBIAN_BASE_TAG: "2023-03-27-virglrenderer-crosvm"
DEBIAN_X86_BUILD_IMAGE_PATH: "debian/x86_build"
DEBIAN_BUILD_TAG: "2023-04-03-android-meson-aarch64"
DEBIAN_BUILD_TAG: "2023-04-13-agility-610"
DEBIAN_X86_BUILD_MINGW_IMAGE_PATH: "debian/x86_build-mingw"
DEBIAN_BUILD_MINGW_TAG: "2023-01-03-ci-libva-2.17"
@@ -27,7 +27,7 @@ variables:
WINDOWS_X64_VS_TAG: "2022-10-20-upgrade-zlib"
WINDOWS_X64_BUILD_PATH: "windows/x64_build"
WINDOWS_X64_BUILD_TAG: "2023-04-05-agility-710"
WINDOWS_X64_BUILD_TAG: "2023-04-13-agility-610"
WINDOWS_X64_TEST_PATH: "windows/x64_test"
WINDOWS_X64_TEST_TAG: "2023-04-05-agility-710"
WINDOWS_X64_TEST_TAG: "2023-04-13-agility-610"

View File

@@ -12,7 +12,7 @@ $depsInstallPath="C:\mesa-deps"
Get-Date
Write-Host "Cloning DirectX-Headers"
git clone -b v1.710.0-preview --depth=1 https://github.com/microsoft/DirectX-Headers deps/DirectX-Headers
git clone -b v1.610.0 --depth=1 https://github.com/microsoft/DirectX-Headers deps/DirectX-Headers
if (!$?) {
Write-Host "Failed to clone DirectX-Headers repository"
Exit 1

View File

@@ -132,7 +132,7 @@ cargo install --git https://gitlab.freedesktop.org/anholt/deqp-runner.git
Get-Date
Write-Host "Downloading DirectX 12 Agility SDK"
Invoke-WebRequest -Uri https://www.nuget.org/api/v2/package/Microsoft.Direct3D.D3D12/1.710.0-preview -OutFile 'agility.zip'
Invoke-WebRequest -Uri https://www.nuget.org/api/v2/package/Microsoft.Direct3D.D3D12/1.610.0 -OutFile 'agility.zip'
Expand-Archive -Path 'agility.zip' -DestinationPath 'C:\agility'
Remove-Item 'agility.zip'

View File

@@ -502,7 +502,7 @@ if with_gallium_d3d12 or with_microsoft_clc or with_microsoft_vk
dep_dxheaders = dependency('directx-headers', required : false)
if not dep_dxheaders.found()
dep_dxheaders = dependency('DirectX-Headers',
version : '>= 1.606.4',
version : '>= 1.610.0',
fallback : ['DirectX-Headers', 'dep_dxheaders'],
required : with_gallium_d3d12 or with_microsoft_vk
)

View File

@@ -14,7 +14,7 @@
GALLIUM_DRIVER: d3d12
WGL_DISABLE_ERROR_DIALOGS: "true"
D3D12_AGILITY_RELATIVE_PATH: "D3D12\\"
D3D12_AGILITY_SDK_VERSION: 710
D3D12_AGILITY_SDK_VERSION: 610
.d3d12-test-piglit:
extends:

View File

@@ -33,7 +33,7 @@ test-dozen-deqp:
variables:
GIT_STRATEGY: none # testing doesn't build anything from source
DZN_AGILITY_RELATIVE_PATH: "D3D12\\"
DZN_AGILITY_SDK_VERSION: 710
DZN_AGILITY_SDK_VERSION: 610
script:
- . _install/deqp_runner_run.ps1
artifacts:

View File

@@ -1069,7 +1069,7 @@ struct dzn_image {
struct dzn_device_memory *mem;
VkDeviceSize mem_offset;
uint32_t castable_format_count;
DXGI_FORMAT *castable_formats;
const DXGI_FORMAT *castable_formats;
D3D12_BARRIER_ACCESS valid_access;
};

View File

@@ -2,4 +2,4 @@
directory = DirectX-Headers-1.0
url = https://github.com/microsoft/DirectX-Headers.git
revision = v1.606.4
revision = v1.610.0