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

ShaderGen.Build does not generate any shader #101

Open
TJYSunset opened this issue Jan 11, 2020 · 1 comment
Open

ShaderGen.Build does not generate any shader #101

TJYSunset opened this issue Jan 11, 2020 · 1 comment

Comments

@TJYSunset
Copy link

Environment

ShaderGen/ShaderGen.Build 1.2.0-beta3 from nuget.org
Windows 10 Pro 18362.418 (1903)
.NET Core SDK 3.0
JetBrains Rider 2019.3

Description

I was trying to use ShaderGen.Build to build my shaders, but it didn't generate anything in bin. No MSBuild messages were shown. I did spot ShaderGen files in obj, but _sggeneratedfiles.txt was empty.

Reproducing

Here's a minimal repro project zipped with artifacts generated by my build. Shader copied from veldrid-raytracer.

Foo.zip

@mellinoe
Copy link
Owner

mellinoe commented Feb 9, 2020

Hi @TJYSunset . Unfortunately, I don't have the time to work on this project any longer, and it has been superceded for the most part by Veldrid.SPIRV (not in spirit, but for practical uses). The easiest way (but still not easy) to figure out what's going wrong here is to build the project from scratch and pass ShaderGen.App the same parameters that the MSBuild target does (you can see in the logs when it is calling ShaderGen.App).

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

2 participants