mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 07:53:26 +00:00
Merge pull request #70315 from RandomShaper/d3d12_mesa
Direct3D 12 Rendering Driver (Mesa NIR approach)
This commit is contained in:
commit
41365c6c8b
45 changed files with 75735 additions and 19 deletions
24
.github/workflows/windows_builds.yml
vendored
24
.github/workflows/windows_builds.yml
vendored
|
@ -7,7 +7,7 @@ on:
|
|||
env:
|
||||
# Used for the cache key. Add version suffix to force clean build.
|
||||
GODOT_BASE_BRANCH: master
|
||||
SCONSFLAGS: verbose=yes warnings=extra werror=yes module_text_server_fb_enabled=yes
|
||||
SCONSFLAGS: verbose=yes warnings=extra werror=yes module_text_server_fb_enabled=yes d3d12=yes "dxc_path=${{github.workspace}}/dxc" "mesa_libs=${{github.workspace}}/godot-nir-static"
|
||||
SCONS_CACHE_MSVC_CONFIG: true
|
||||
|
||||
concurrency:
|
||||
|
@ -49,6 +49,28 @@ jobs:
|
|||
- name: Setup python and scons
|
||||
uses: ./.github/actions/godot-deps
|
||||
|
||||
- name: Download pre-built DirectX Shader Compiler
|
||||
uses: dsaltares/fetch-gh-release-asset@1.0.0
|
||||
with:
|
||||
repo: Microsoft/DirectXShaderCompiler
|
||||
version: tags/v1.7.2308
|
||||
file: dxc_2023_08_14.zip
|
||||
target: dxc.zip
|
||||
|
||||
- name: Extract pre-built DirectX Shader Compiler
|
||||
run: 7z x dxc.zip -o${{github.workspace}}/dxc
|
||||
|
||||
- name: Download pre-built Mesa-NIR
|
||||
uses: dsaltares/fetch-gh-release-asset@1.0.0
|
||||
with:
|
||||
repo: godotengine/godot-nir-static
|
||||
version: tags/23.1.0-devel
|
||||
file: godot-nir-23.1.0-1-devel.zip
|
||||
target: godot-nir-static.zip
|
||||
|
||||
- name: Extract pre-built Mesa-NIR
|
||||
run: 7z x godot-nir-static.zip -o${{github.workspace}}/godot-nir-static
|
||||
|
||||
- name: Setup MSVC problem matcher
|
||||
uses: ammaraskar/msvc-problem-matcher@master
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue