File tree Expand file tree Collapse file tree 1 file changed +8
-22
lines changed Expand file tree Collapse file tree 1 file changed +8
-22
lines changed Original file line number Diff line number Diff line change 1
1
@ echo off
2
2
setlocal enabledelayedexpansion
3
3
4
- set LLVM_VERSION = 14.0.0
5
- set MESA_VERSION = 22.0.1
4
+ set LLVM_VERSION = 14.0.3
5
+ set MESA_VERSION = 22.0.3
6
6
7
7
set PATH = %CD% \llvm\bin;%CD% \winflexbison;%PATH%
8
8
@@ -180,23 +180,6 @@ meson setup ^
180
180
-Dgallium-drivers=d3d12 || exit /b 1
181
181
ninja -C mesa.build install || exit /b 1
182
182
183
- rem *** mesa d3d12egl ***
184
-
185
- rd /s /q mesa.build 1 > nul 2 > nul
186
- meson setup ^
187
- mesa.build ^
188
- mesa.src ^
189
- --prefix=" %CD% \mesa-d3d12" ^
190
- --default-library=static ^
191
- -Dbuildtype=release ^
192
- -Db_ndebug=true ^
193
- -Db_vscrt=mt ^
194
- -Dllvm=disabled ^
195
- -Dplatforms=windows ^
196
- -Dosmesa=false ^
197
- -Dgallium-drivers=d3d12 || exit /b 1
198
- ninja -C mesa.build install || exit /b 1
199
-
200
183
rem *** done ***
201
184
rem output is in mesa-d3d12 and mesa-llvmpipe folders
202
185
@@ -217,9 +200,12 @@ if "%GITHUB_WORKFLOW%" neq "" (
217
200
218
201
mkdir archive-d3d12
219
202
pushd archive-d3d12
220
- copy /y ..\mesa-d3d12\bin\opengl32.dll .
221
- rem "%WindowsSdkVerBinPath%x64\dxil.dll"
222
- copy /y " %ProgramFiles(x86)% \Windows Kits\10\Redist\D3D\x64\dxil.dll" .
203
+ copy /y ..\mesa-d3d12\bin\opengl32.dll .
204
+ if exist " %ProgramFiles(x86)% \Windows Kits\10\Redist\D3D\x64\dxil.dll" (
205
+ copy /y " %ProgramFiles(x86)% \Windows Kits\10\Redist\D3D\x64\dxil.dll" .
206
+ ) else if exist " %WindowsSdkVerBinPath% x64\dxil.dll" (
207
+ copy /y " %WindowsSdkVerBinPath% x64\dxil.dll" .
208
+ )
223
209
%SZIP% a -mx=9 ..\mesa-d3d12-%MESA_VERSION% .zip
224
210
popd
225
211
You can’t perform that action at this time.
0 commit comments