Comments (8)
Ah okay, so our Vulkan Loader version is behind our Vulkan Headers version. So no update needed, phew!
from silk.net.
Unfortunately, nothing is ever easy.
We 'need' to build Vulkan Loader with the ClangCL toolset because it's the only way to build the Arm64 assembly. Not doing so trips this warning:
Is that warning a problem? Who knows. It's up to the phase of the moon and the mood of the C compiler.
The issue is that VS ships with ClangCL toolsets for each build machine architecture. So there's an x86, x64, and Arm64 toolset. But you can only run the x64 and x86 (under WoW64) toolsets on e.g. a GitHub Actions runner. And I don't see any obvious way to cross-compile. So unless we can get our hands on a Windows Arm64 runner, I think we're out of luck.
I can of course just make the Windows Arm64 build use MSVC instead and we just pray that the tail call elimination kicks in. @Perksey @Beyley any thoughts?
from silk.net.
zig cc
from silk.net.
Might be possible. 🤔 I'll check first if it can be done with a CMake toolchain file pointing to zig cc
.
If that's too annoying to do, we might have to make a proper build.zig
like was done for the other dependencies that are built with Zig. That's a slightly more involved project that I don't have time for currently, though, so I'll leave it up for grabs if it comes to that.
from silk.net.
Some early findings: zig cc
with CMake should be possible, but it's a pain in the ass going Linux -> Windows Arm64 due to resource compiler nonsense. Will have to do it on Windows.
from silk.net.
Upstream PR has been merged. We need to actually update our Vulkan Loader submodule to a newer tag (once available) since we need multiple build system changes that were made since v1.3.280.
from silk.net.
I think we should just point at an untagged SHA, seeing as a new tag implies we need to update our bindings again and I don't think there's appetite for that.
from silk.net.
Unfortunately we're already a tag behind: https://github.com/KhronosGroup/Vulkan-Loader/releases/tag/v1.3.281
So it seems like we'll have to do that anyway?
from silk.net.
Related Issues (20)
- Desktop macOS binaries in the Silk.NET.MoltenVK.Native package HOT 2
- Make Silk.NET buildable on Linux (by loosening .NET workload requirements)
- Build shaderc, SPIRV-Cross, and SPIRV-Reflect native packages for `linux-arm` HOT 3
- Create a build script for OpenAL Soft native binaries HOT 1
- Make WindowOptions a class HOT 1
- Re-enable ANGLE native builds HOT 1
- Build Assimp with Draco support HOT 1
- Input related callbacks in GLFW cause an AccessViolationException HOT 2
- Build SwiftShader native package for `win-arm64` HOT 4
- Build Vkd3d shader compiler native package for `linux-arm` and `linux-arm64`
- OpenGL glTextureParameteri symbol not found on macOS HOT 1
- Silk.NET.Core.Loader.DefaultPathResolver does not check the directory of its own assembly HOT 1
- Build DXVK native package for `linux-arm`, `linux-arm64`, and `win-arm64`
- Hi, is NV_DX_interop2 missing for WGL.Extensions? HOT 16
- Silk.NET is awesome, but no CUDA? HOT 1
- GetUniformLocation() returns -1 on Nvidia HOT 9
- SDL2 gone on publish HOT 5
- Add MeshOptimizer Bindings HOT 1
- Error when trying to use TextureStorage3D on Android HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from silk.net.