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:

committed by
Marge Bot

parent
5dc4212cc1
commit
cc6d87b462
@@ -83,7 +83,7 @@ cd shader-db
|
|||||||
make
|
make
|
||||||
popd
|
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
|
mkdir -p DirectX-Headers/build
|
||||||
pushd DirectX-Headers/build
|
pushd DirectX-Headers/build
|
||||||
meson .. --backend=ninja --buildtype=release -Dbuild-test=false
|
meson .. --backend=ninja --buildtype=release -Dbuild-test=false
|
||||||
|
@@ -3,7 +3,7 @@ variables:
|
|||||||
DEBIAN_BASE_TAG: "2023-03-27-virglrenderer-crosvm"
|
DEBIAN_BASE_TAG: "2023-03-27-virglrenderer-crosvm"
|
||||||
|
|
||||||
DEBIAN_X86_BUILD_IMAGE_PATH: "debian/x86_build"
|
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_X86_BUILD_MINGW_IMAGE_PATH: "debian/x86_build-mingw"
|
||||||
DEBIAN_BUILD_MINGW_TAG: "2023-01-03-ci-libva-2.17"
|
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_VS_TAG: "2022-10-20-upgrade-zlib"
|
||||||
|
|
||||||
WINDOWS_X64_BUILD_PATH: "windows/x64_build"
|
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_PATH: "windows/x64_test"
|
||||||
WINDOWS_X64_TEST_TAG: "2023-04-05-agility-710"
|
WINDOWS_X64_TEST_TAG: "2023-04-13-agility-610"
|
||||||
|
@@ -12,7 +12,7 @@ $depsInstallPath="C:\mesa-deps"
|
|||||||
|
|
||||||
Get-Date
|
Get-Date
|
||||||
Write-Host "Cloning DirectX-Headers"
|
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 (!$?) {
|
if (!$?) {
|
||||||
Write-Host "Failed to clone DirectX-Headers repository"
|
Write-Host "Failed to clone DirectX-Headers repository"
|
||||||
Exit 1
|
Exit 1
|
||||||
|
@@ -132,7 +132,7 @@ cargo install --git https://gitlab.freedesktop.org/anholt/deqp-runner.git
|
|||||||
|
|
||||||
Get-Date
|
Get-Date
|
||||||
Write-Host "Downloading DirectX 12 Agility SDK"
|
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'
|
Expand-Archive -Path 'agility.zip' -DestinationPath 'C:\agility'
|
||||||
Remove-Item 'agility.zip'
|
Remove-Item 'agility.zip'
|
||||||
|
|
||||||
|
@@ -502,7 +502,7 @@ if with_gallium_d3d12 or with_microsoft_clc or with_microsoft_vk
|
|||||||
dep_dxheaders = dependency('directx-headers', required : false)
|
dep_dxheaders = dependency('directx-headers', required : false)
|
||||||
if not dep_dxheaders.found()
|
if not dep_dxheaders.found()
|
||||||
dep_dxheaders = dependency('DirectX-Headers',
|
dep_dxheaders = dependency('DirectX-Headers',
|
||||||
version : '>= 1.606.4',
|
version : '>= 1.610.0',
|
||||||
fallback : ['DirectX-Headers', 'dep_dxheaders'],
|
fallback : ['DirectX-Headers', 'dep_dxheaders'],
|
||||||
required : with_gallium_d3d12 or with_microsoft_vk
|
required : with_gallium_d3d12 or with_microsoft_vk
|
||||||
)
|
)
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
GALLIUM_DRIVER: d3d12
|
GALLIUM_DRIVER: d3d12
|
||||||
WGL_DISABLE_ERROR_DIALOGS: "true"
|
WGL_DISABLE_ERROR_DIALOGS: "true"
|
||||||
D3D12_AGILITY_RELATIVE_PATH: "D3D12\\"
|
D3D12_AGILITY_RELATIVE_PATH: "D3D12\\"
|
||||||
D3D12_AGILITY_SDK_VERSION: 710
|
D3D12_AGILITY_SDK_VERSION: 610
|
||||||
|
|
||||||
.d3d12-test-piglit:
|
.d3d12-test-piglit:
|
||||||
extends:
|
extends:
|
||||||
|
@@ -33,7 +33,7 @@ test-dozen-deqp:
|
|||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: none # testing doesn't build anything from source
|
GIT_STRATEGY: none # testing doesn't build anything from source
|
||||||
DZN_AGILITY_RELATIVE_PATH: "D3D12\\"
|
DZN_AGILITY_RELATIVE_PATH: "D3D12\\"
|
||||||
DZN_AGILITY_SDK_VERSION: 710
|
DZN_AGILITY_SDK_VERSION: 610
|
||||||
script:
|
script:
|
||||||
- . _install/deqp_runner_run.ps1
|
- . _install/deqp_runner_run.ps1
|
||||||
artifacts:
|
artifacts:
|
||||||
|
@@ -1069,7 +1069,7 @@ struct dzn_image {
|
|||||||
struct dzn_device_memory *mem;
|
struct dzn_device_memory *mem;
|
||||||
VkDeviceSize mem_offset;
|
VkDeviceSize mem_offset;
|
||||||
uint32_t castable_format_count;
|
uint32_t castable_format_count;
|
||||||
DXGI_FORMAT *castable_formats;
|
const DXGI_FORMAT *castable_formats;
|
||||||
|
|
||||||
D3D12_BARRIER_ACCESS valid_access;
|
D3D12_BARRIER_ACCESS valid_access;
|
||||||
};
|
};
|
||||||
|
@@ -2,4 +2,4 @@
|
|||||||
directory = DirectX-Headers-1.0
|
directory = DirectX-Headers-1.0
|
||||||
|
|
||||||
url = https://github.com/microsoft/DirectX-Headers.git
|
url = https://github.com/microsoft/DirectX-Headers.git
|
||||||
revision = v1.606.4
|
revision = v1.610.0
|
||||||
|
Reference in New Issue
Block a user