Skip to content

[SPIRV] Add support for -ffast-math #8430

@GloriousPtr

Description

@GloriousPtr

Is your feature request related to a problem? Please describe.
Cant seem to find any way to get -ffast-math to work with dxc

Describe the solution you'd like
A flag like -fspv-ffast-math to enable decorations for appropriate operations

Describe alternatives you've considered
-ffinite-math-only but it doesnt imply Fast and AllowRecip afaik that are mentioned here: https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#FP_Fast_Math_Mode

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions