Skip to content
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

Shaders refuse to compile only under OpenGL and GLES GLSL #27

Open
Redhacker1 opened this issue Nov 15, 2022 · 0 comments
Open

Shaders refuse to compile only under OpenGL and GLES GLSL #27

Redhacker1 opened this issue Nov 15, 2022 · 0 comments

Comments

@Redhacker1
Copy link

I am working on getting a NanoVG C# port running with a Veldrid backend, currently, it pretty much works on Vulkan and DirectX (I don't have a mac to test the Metal API) OpenGL and ESSL both Crash the program with. I am unsure if I am missing something, but I am using in my own project these shaders with a C# ShaderC binding, and compiling them with Veldrid.Spirv and they work fine.

this is the repo containing the Veldrid Backend, it sits under https://github.com/Redhacker1/SilkyNvg/tree/main/src/rendering/SilkyNvg.Rendering.Veldrid
the example code to run this is in https://github.com/Redhacker1/SilkyNvg/tree/main/samples/Veldrid%20Example

"
error: struct type mismatch between shaders for uniform (named vdspv_fsin17)
error: struct type mismatch between shaders for uniform (named vdspv_fsin2)
"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant