fix Mesa dzn/d3d12 build: forward-declare ID3D12InfoQueue in d3d12.h when D3D12_IGNORE_SDK_LAYERS is defined (regression introduced by new ID3D12StateObjectDatabaseFactory1 interface) [release 1.721.2-2mamba;Tue Jul 28 2026]
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
--- a/include/directx/d3d12.h
|
||||
+++ b/include/directx/d3d12.h
|
||||
@@ -34547,6 +34547,12 @@
|
||||
#endif /* __ID3D12StateObjectDatabase1_INTERFACE_DEFINED__ */
|
||||
|
||||
|
||||
+#if defined( D3D12_IGNORE_SDK_LAYERS ) && !defined( __ID3D12InfoQueue_FWD_DEFINED__ )
|
||||
+#define __ID3D12InfoQueue_FWD_DEFINED__
|
||||
+typedef interface ID3D12InfoQueue ID3D12InfoQueue;
|
||||
+#endif /* D3D12_IGNORE_SDK_LAYERS && !__ID3D12InfoQueue_FWD_DEFINED__ */
|
||||
+
|
||||
+
|
||||
/* interface __MIDL_itf_d3d12_0000_0085 */
|
||||
/* [local] */
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Name: directx-headers
|
||||
Version: 1.721.2
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: Official DirectX headers available under an open source license
|
||||
Group: Development/Libraries
|
||||
Vendor: openmamba
|
||||
@@ -8,6 +8,7 @@ Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan@openmamba.org>
|
||||
URL: https://devblogs.microsoft.com/directx/
|
||||
Source: https://github.com/microsoft/DirectX-Headers.git/v%{version}/DirectX-Headers-%{version}.tar.bz2
|
||||
Patch0: directx-headers-d3d12-infoqueue-fwd-decl.patch
|
||||
License: MIT
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
## AUTOBUILDREQ-END
|
||||
@@ -28,6 +29,7 @@ This package contains header files for developing applications that use %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n DirectX-Headers-%{version}
|
||||
%patch 0 -p1
|
||||
|
||||
%build
|
||||
# LTO breaks mesa...
|
||||
@@ -64,6 +66,9 @@ export CXXFLAGS="%{optflags} -fno-lto"
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* Tue Jul 28 2026 Claude <claude@openmamba.org> 1.721.2-2mamba
|
||||
- fix Mesa dzn/d3d12 build: forward-declare ID3D12InfoQueue in d3d12.h when D3D12_IGNORE_SDK_LAYERS is defined (regression introduced by new ID3D12StateObjectDatabaseFactory1 interface)
|
||||
|
||||
* Fri Jul 03 2026 Automatic Build System <autodist@openmamba.org> 1.721.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
||||
Reference in New Issue
Block a user