Skip to content
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.

Shader Compilation Workflow #32

Answered by rezaali
OskarGroth asked this question in Q&A
Discussion options

You must be logged in to vote

@OskarGroth I refactored the Shader class to work for this use case. Check out the shipping example to see how it works. I'm thinking about writing a small command line tool / script that can help compile shaders into the format xcode wants so it can build a metallib. My ideal workflow would be live coding shaders in debug mode. Then when building for release there is an xcode run script that calls a satin command line tool to compile the satin shader and then include that in the xcode project so xcode can make a metallib and remove the shader files so your shader library isn't exposed.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@rezaali
Comment options

Answer selected by OskarGroth
Comment options

You must be logged in to vote
1 reply
@wtholliday
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants