Skip to content
Discussion options

You must be logged in to vote

Those optimizations are being used in the direct-to-SPIR-V approach too. See:

SlangResult emitSPIRVForEntryPointsDirectly(

calling
static SlangResult createArtifactFromIR(

which runs the optimizations using the downstream compiler.

It's just a bit confusing that the same slang-glslang downstream compiler is used both for compiling GLSL->SPIR-V but also for optimizing SPIR-V->SPIR-V.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mbechard
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants