LuisaRender icon indicating copy to clipboard operation
LuisaRender copied to clipboard

Windows DX12 build

Open v-san opened this issue 3 months ago • 1 comments

Hello! I'm trying to build LuisaRender under Windows with DirectX12 backend. Windows 10, Visual Studio 2022, win sdk 10.0.19041.0, RTX2070 Super, 572.16 driver

Currently LuisaRender uses old commit of LuisaCompute which tries to download SDK archives that are no longer available at https://github.com/LuisaGroup/SDKs/releases. I manually updated LuisaCompute dependency to the last commit in the 'stable' branch to circumvent this. However, when building luisa-compute-backend-dx, there are a bunch of compilation errors mostly related to compute\src\backends\dx\DXRuntime/EnhancedBarrierTracker.h and compute\src\backends\dx\DXRuntime/CommandBuffer.h files. I have attached full build log here: build.log

At the same time, CUDA version builds and works fine.

v-san avatar Sep 02 '25 10:09 v-san

Currently we just pushed new dx12 backend with Agility SDK header on next branch, it may fix these errors.

MaxwellGengYF avatar Sep 10 '25 05:09 MaxwellGengYF