Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Change shader building pipeline #5

Open
robbiesri opened this issue Jun 10, 2020 · 1 comment
Open

Change shader building pipeline #5

robbiesri opened this issue Jun 10, 2020 · 1 comment

Comments

@robbiesri
Copy link
Contributor

Right now, we use add_custom_command to build shaders. However, add_custom_command doesn't care about dependencies triggering shader compiles (e.g. modifying a header).

I'm not entirely sure what the right solution is here. I was thinking of using add_custom_target, but that just builds all the time, which I don't want either. I don't want to just treat it as HLSL, because I can't control the DXC compiler, and that doesn't work for Ninja. Which maybe isn't a huge deal.

@robbiesri
Copy link
Contributor Author

FYI: This makes this a real graphics project, because it's run into this stupid problem

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

No branches or pull requests

1 participant