]> git.tdb.fi Git - libs/gl.git/commit
Mark the start of a SPIR-V function as reachable
authorMikko Rasa <tdb@tdb.fi>
Sun, 7 Nov 2021 17:17:09 +0000 (19:17 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 7 Nov 2021 17:17:09 +0000 (19:17 +0200)
commit7ab4261d281c7885bbdfb0a782ed231b2cd08293
treeb9444ecca4f262cfe3353517298a42907f088957
parent6cee6c490ded0981c4da3f9f4ec74a41555e1a4e
Mark the start of a SPIR-V function as reachable

This fixes erroneously generated OpUnreachable instructions which
appeared at the end of some functions.
source/glsl/spirv.cpp