Skip to content

Naga spir-v and msl output has divergent return statements in entry points #8738

@inner-daemons

Description

@inner-daemons

Description
This has become an issue in #8456, but each return statement in the top level entry point writes its own function epilogue. We should really just have one epilogue and make return statements jump to this epilogue.

Also #8739 introduced an identical bug to the MSL writer.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions