Skip to content

Commit

Permalink
Fix vaon12 build regression on 24.3 with MinGW
Browse files Browse the repository at this point in the history
  • Loading branch information
pal1000 committed Dec 9, 2024
1 parent 136aaba commit 777b775
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions buildscript/modules/mesa3d.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@
@rem Fix vaon12 filename
@IF %intmesaver% LSS 23200 call "%devroot%\%projectname%\buildscript\modules\applypatch.cmd" vaon12-strip-lib-prefix

@rem Fix vaon12 build regression on 24.3 with MinGW
@IF %intmesaver% GEQ 24300 call "%devroot%\%projectname%\buildscript\modules\applypatch.cmd" va-include-missing-header

:configmesabuild
@rem Configure Mesa build.
@set buildconf=%mesonloc% setup
Expand Down
10 changes: 10 additions & 0 deletions patches/va-include-missing-header.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- a/src/gallium/auxiliary/vl/vl_winsys.h
+++ b/src/gallium/auxiliary/vl/vl_winsys.h
@@ -46,6 +46,7 @@
#endif
#include "pipe/p_defines.h"
#include "util/format/u_formats.h"
+#include "frontend/sw_winsys.h"

struct pipe_screen;
struct pipe_surface;
2 changes: 2 additions & 0 deletions releasenotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
- MSYS2: Check OpenCL stack dependencies availability;
- Workaround [#156](https://github.com/pal1000/mesa-dist-win/issues/156) by disabling LLVM support for GCC static build;
- clon12: Use secondary branch with [MSVC 17.12 build fix](https://github.com/microsoft/OpenCLOn12/issues/64).
### Out of tree patching
- Fix vaon12 build regression on 24.3 with MinGW.
# 24.3.0
- Updated Mesa3D to [24.3.0](https://gitlab.freedesktop.org/mesa/mesa/-/blob/24.3/docs/relnotes/24.3.0.rst?ref_type=heads&plain=0).
### Sponsorship
Expand Down

0 comments on commit 777b775

Please sign in to comment.