Skip to content

[naga msl-out] Unbounded loop workaround is not adequate #6528

@jimblandy

Description

@jimblandy

I'll provide more details later, but the LOOP_IS_REACHABLE kludge has been found to be insufficient at avoiding UB and security problems. Basically, even with the kludge applied, the loop is still infinite, and still reached, so it's just a matter of being clever.

  • msl
  • hlsl

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions