summaryrefslogtreecommitdiffstats
path: root/src/compiler/spirv
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-04-08 21:47:32 +1000
committerTimothy Arceri <[email protected]>2018-04-17 14:17:56 +1000
commit6e22ad6edc34dc07a08b41a781f1c37ff3c536e7 (patch)
tree99e715991b57c134958afa9e737af5ab6f3b0ea3 /src/compiler/spirv
parentd3cafc18fced872ce60060e792f6faf2b97cc3a9 (diff)
nir: return early when lowering a return at the end of a function
Otherwise we create unused conditional return flags and things get unnecessarily ugly fast when lowering nested functions. Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/spirv')
0 files changed, 0 insertions, 0 deletions