-
Notifications
You must be signed in to change notification settings - Fork 434
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
glsl-to-spirv: Cross compile. #1232
Comments
We no longer use |
What replaces |
@rukai Shaderc tackles a different issue and when it's appropriate my project uses it. glsl-to-spirv does compile-time compilation of shaders, where shaderc can be used to compile shaders at run-time. |
Well I don't think glsl-to-spirv actually does that, but it's been a while... Regardless what you actually want is https://github.com/Ralith/vk-shader-macros |
Sorry, I think I'm confused. https://crates.io/crates/glsl-to-spirv-macros |
Ahah, makes sense, I haven't seen glsl-to-spirv-macros before. |
One feature vk-shader-macros is missing is inline glsl, so I don't think I'll switch. Thanks though. |
As glsl-to-spirv is somehow related to vulkano, but this relationship is not clear on cursory inspection, it's difficult to be clear.
CC=x86_64-w64-mingw32-gcc-posix CXX=x86_64-w64-mingw32-g++-posix CARGO_TARGET_X86_64_PC_WINDOWS_GNU_LINKER=x86_64-w64-mingw32-gcc-posix cargo build --target x86_64-pc-windows-gnu
As this is a simple matter I don't see how the crate here has much influence, but to be complete: https://gitlab.com/cheako/simulide-rs/tree/imgui_success_001
https://www.reddit.com/r/rust/comments/csdrmt/cross_compiling_ccpp_with_rust_providing_threads/
The text was updated successfully, but these errors were encountered: