-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当采用xmake构建,启用cpu后端来运行时,会出现 'swapchain context is not initialized' 错误 #146
Comments
hanasaki666
changed the title
当采用xmake,工具链为clang-cl,启用cpu后端来编译时,能成功编译,但以cpu作为后端运行需要swapchain的tests会报错
当采用xmake,工具链为clang-cl,启用cpu后端来编译时,能成功编译,但以cpu作为后端运行需要swapchain的tests(比如test_path_tracing)会报错
May 5, 2024
hanasaki666
changed the title
当采用xmake,工具链为clang-cl,启用cpu后端来编译时,能成功编译,但以cpu作为后端运行需要swapchain的tests(比如test_path_tracing)会报错
当采用xmake构建,启用cpu后端来运行时,会出现 'swapchain context is not initialized' 错误
May 10, 2024
@MaxwellGengYF 请帮忙检查 |
Fixed in next branch. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
报错信息:
我尝试过以clang-cl和llvm作为toolchain,都会出现这个panic,而使用cmake构建是能正常运行的,我怀疑可能是xmake构建时一些构建配置没能正确传递给rust那边
为了能成功构建,我改了
scripts\xmake_func.lua
里对 “Windows SDK”的要求:构建时使用的
scripts\options.lua
:生成的
.xmake\windows\x64\xmake.conf
:Expected behavior
可以成功以cpu作为后端来运行需要swapchain的tests(比如test_path_tracing)
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: