Skip to content

[SPIR-V] Crash in addDerivativeGroupExecutionMode() when called in Vertex Shader #7478

@LukasBanana

Description

@LukasBanana

We have a crash in UE5 which looks to me like a result from a cherrypicked change (#7445) that adopted the condition !spvContext.isPS() instead of spvContext.isCS() which all other locations use before calling addDerivativeGroupExecutionMode():

This function even has an assertion for this condition:

assert(spvContext.isCS());

Interestingly, though, we hit a null pointer crash instead of this assertion.

Just wanted to raise this here because I won't have time for a PR including unit tests due to our release schedule.

Metadata

Metadata

Assignees

Labels

bugBug, regression, crashspirvWork related to SPIR-V

Type

No type

Projects

Status

Done

Status

Triaged

Relationships

None yet

Development

No branches or pull requests

Issue actions