Skip to content

OpPhi's incoming basic block ... is not a predecessor of ... #13

@FROL256

Description

@FROL256
  1. The source code to reproduce the bug: https://drive.google.com/file/d/1HaSsqCharKF2mdg8wMA6IrPDwy3fL848/view?usp=sharing

  2. The error from validation layer:

UNASSIGNED-CoreValidation-Shader-InconsistentSpirv(ERROR / SPEC): msgNum: 7060244 - Validation Error: [ UNASSIGNED-CoreValidation-Shader-InconsistentSpirv ] Object 0: handle = 0x555555c61e28, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x6bbb14 | SPIR-V module not valid: OpPhi's incoming basic block <id> 187[%187] is not a predecessor of <id> 279[%279].
  %297 = OpPhi %bool %false %187 %295 %280
  1. Seems the problem is inside "RaySphereHit" function, but it is quite simple.

Would be happy if you could look at this, many thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions