ShaderGen icon indicating copy to clipboard operation
ShaderGen copied to clipboard

ShaderGen.Build does not generate any shader

Open TJYSunset opened this issue 6 years ago • 1 comments

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

TJYSunset avatar Jan 11 '20 08:01 TJYSunset

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).

mellinoe avatar Feb 09 '20 17:02 mellinoe